or1k GCC Internal Compiler Error
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi,
I've been asked to forward this bug report to the new mailing list; the bug is still not resolved, so I'd be glad if someone wants to have a look at it.
Philipp
-------- Forwarded Message --------
Subject: or1k GCC Internal Compiler Error
Date: Wed, 01 Oct 2014 00:05:39 +0200
From: Philipp Wagner <[email protected]>
To: [email protected]
Hi,
we get an Internal Compiler Error (ICE) from the or1k 4.9 and 4.8 GCC when trying to compile C++ code that makes use of inheritance and virtual functions. The ICE only occurs if optimization is enabled (-O1 and above), it does *not* happen with -O0. The code also compiles fine on a regular Ubuntu 14.04 x86_64 GCC 4.8 (probably heavily patched though).
I reduced the attached testcase down to a minimum (it's code from Fiasco.OC) to show the ICE, but I have no clue what exactly triggers the problem. Could possibly anybody with more experience in the compiler field have a look at what might cause the error?
Some free beers at ORConf will be reserved for the solution for that :-)
Philipp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testcase.cc
Type: text/x-c++src
Size: 2748 bytes
Desc: not available
URL: <http://lists.librecores.org/pipermail/openrisc/attachments/20160511/b9055083/attachment.cc>