This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/54737] New: ICE on PA-RISC with LTO and -ftrapv
- From: "mikulas at artax dot karlin.mff.cuni.cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 28 Sep 2012 20:43:02 +0000
- Subject: [Bug lto/54737] New: ICE on PA-RISC with LTO and -ftrapv
- Auto-submitted: auto-generated
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.