[Bug middle-end/60865] New: ICE: verify_cgraph_node failed: comdat-local function called by <built-in> outside its comdat
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Wed Apr 16 19:05:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60865
Bug ID: 60865
Summary: ICE: verify_cgraph_node failed: comdat-local function
called by <built-in> outside its comdat
Product: gcc
Version: 4.10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: zsojka at seznam dot cz
Created attachment 32619
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32619&action=edit
partially reduced testcase
Compiler output:
$ gcc -O3 -fdeclone-ctor-dtor --param=ipa-cp-eval-threshold=1 testcase.C
testcase.C:48:1: error: comdat-local function called by <built-in> outside its
comdat
}
^
_ZN10SerializerIjN4Loki8TypelistIiNS1_I9ClassSpecIjiLj40EENS0_8NullTypeEEEEEEC4Ev/9
(Serializer<unsigned int, Loki::Typelist<int, Loki::Typelist<ClassSpec<unsigned
int, int, 40u>, Loki::NullType> > >::Serializer()) @0x7ff5dd0ee520
Type: function definition analyzed
Visibility: prevailing_def_ironly
comdat_group:_ZN10SerializerIjN4Loki8TypelistIiNS1_I9ClassSpecIjiLj40EENS0_8NullTypeEEEEEEC5Ev
one_only artificial
Same comdat group as:
_ZN10SerializerIjN4Loki8TypelistIiNS1_I9ClassSpecIjiLj40EENS0_8NullTypeEEEEEEC2Ev/10
References:
_ZTT10SerializerIjN4Loki8TypelistIiNS1_I9ClassSpecIjiLj40EENS0_8NullTypeEEEEEE/15
(addr)_ZTV10SerializerIjN4Loki8TypelistIiNS1_I9ClassSpecIjiLj40EENS0_8NullTypeEEEEEE/14
(addr)_ZTV10SerializerIjN4Loki8TypelistIiNS1_I9ClassSpecIjiLj40EENS0_8NullTypeEEEEEE/14
(addr)
Referring:
Availability: local
First run: 0
Function flags: body local
Called by:
_ZN10SerializerIjN4Loki8TypelistIiNS1_I9ClassSpecIjiLj40EENS0_8NullTypeEEEEEEC1Ev.constprop.0/44
(1.00 per call)
_ZN10SerializerIjN4Loki8TypelistIiNS1_I9ClassSpecIjiLj40EENS0_8NullTypeEEEEEEC1Ev/11
(1.00 per call)
_ZN10SerializerIjN4Loki8TypelistIiNS1_I9ClassSpecIjiLj40EENS0_8NullTypeEEEEEEC2Ev/10
(1.00 per call)
Calls:
testcase.C:48:1: internal compiler error: verify_cgraph_node failed
0x934d8f verify_cgraph_node(cgraph_node*)
/mnt/svn/gcc-trunk/gcc/cgraph.c:2997
0x93001e verify_symtab_node(symtab_node*)
/mnt/svn/gcc-trunk/gcc/symtab.c:882
0x930057 verify_symtab()
/mnt/svn/gcc-trunk/gcc/symtab.c:899
0xb29a21 symtab_remove_unreachable_nodes(bool, _IO_FILE*)
/mnt/svn/gcc-trunk/gcc/ipa.c:308
0xbfc147 execute_todo
/mnt/svn/gcc-trunk/gcc/passes.c:1896
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.
$ gcc -v
Using built-in specs.
COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc
COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-209399-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/4.10.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df
--enable-languages=c,c++,lto,fortran
--prefix=/mnt/svn/gcc-trunk/binary-209399-lto-fortran-checking-yes-rtl-df/
--without-cloog --without-ppl
Thread model: posix
gcc version 4.10.0 20140415 (experimental) (GCC)
More information about the Gcc-bugs
mailing list