[Bug lto/55703] New: [4.8 Regression] ICE: in lto_fixup_prevailing_decls, at lto/lto.c:2732 in gcc.c-torture/execute/920721-4.c
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Sat Dec 15 07:44:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55703
Bug #: 55703
Summary: [4.8 Regression] ICE: in lto_fixup_prevailing_decls,
at lto/lto.c:2732 in gcc.c-torture/execute/920721-4.c
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
Created attachment 28975
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28975
preprocessed source (gcc.c-torture/execute/920721-4.c)
Compiler output:
$ gcc -O2 -flto -fno-tree-copy-prop -fno-tree-dce 920721-4.i
/mnt/svn/gcc-trunk/gcc/testsuite/gcc.c-torture/execute/920721-4.c: In function
'main':
/mnt/svn/gcc-trunk/gcc/testsuite/gcc.c-torture/execute/920721-4.c:54:2:
warning: incompatible implicit declaration of built-in function 'abort'
[enabled by default]
abort();
^
/mnt/svn/gcc-trunk/gcc/testsuite/gcc.c-torture/execute/920721-4.c:56:3:
warning: incompatible implicit declaration of built-in function 'exit' [enabled
by default]
exit(0);
^
lto1: internal compiler error: in lto_fixup_prevailing_decls, at lto/lto.c:2732
0x59c604 lto_fixup_prevailing_decls
/mnt/svn/gcc-trunk/gcc/lto/lto.c:2732
0x59c604 lto_fixup_decls
/mnt/svn/gcc-trunk/gcc/lto/lto.c:2853
0x59c604 read_cgraph_and_symbols
/mnt/svn/gcc-trunk/gcc/lto/lto.c:3045
0x59c604 lto_main()
/mnt/svn/gcc-trunk/gcc/lto/lto.c:3369
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: /mnt/svn/gcc-trunk/binary-latest/bin/gcc returned 1 exit status
/usr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status
Tested revisions:
r194496 - crash
More information about the Gcc-bugs
mailing list