[Bug lto/54737] New: ICE on PA-RISC with LTO and -ftrapv
mikulas at artax dot karlin.mff.cuni.cz
gcc-bugzilla@gcc.gnu.org
Fri Sep 28 20:43:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54737
Bug #: 54737
Summary: ICE on PA-RISC with LTO and -ftrapv
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: mikulas@artax.karlin.mff.cuni.cz
Host: hppa-linux-gnu
Target: hppa-linux-gnu
Build: hppa-linux-gnu
Created attachment 28296
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28296
preprocessed files to reproduce the bug
When using flags "-ftrapv -flto -fwhole-program -O2" on PA-RISC, gcc fails
with an internal error:
In file included from ../links-current/url.c:574:0,
from ../links-current/url.c:539,
from :121:
../links-current/html_tbl.c: In function 'display_table_frames':
../links-current/html_tbl.c:1304:1: internal compiler error: in hoist_code, at
gcse.c:3119
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: gcc returned 1 exit status
collect2: error: lto-wrapper returned 1 exit status
make: *** [links] Error 1
I'm attaching preprocessed files to reproduce the bug --- extract the archive
parisc-flto-trapv-crash.tar.xz on Linux PA-RISC and run make to get the crash.
gcc-4.6.3 has this bug too.
More information about the Gcc-bugs
mailing list