This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/56673] New: multi-versioning not GC safe
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 21 Mar 2013 09:00:29 +0000
- Subject: [Bug c++/56673] New: multi-versioning not GC safe
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56673
Bug #: 56673
Summary: multi-versioning not GC safe
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: rguenth@gcc.gnu.org
CC: tmsriram@google.com
If you build for example g++.dg/ext/mv1.C with --param ggc-min-expand=0 --param
ggc-min-heapsize=0 (or a compiler with gcac checking enabled) you hit
/space/rguenther/src/svn/trunk/gcc/testsuite/g++.dg/ext/mv1.C: In function 'int
foo()':
/space/rguenther/src/svn/trunk/gcc/testsuite/g++.dg/ext/mv1.C:70:6: internal
compiler error: Segmentation fault
0xcd3b09 crash_signal
/space/rguenther/src/svn/trunk/gcc/toplev.c:332
0x13dc1d6 htab_find
/space/rguenther/src/svn/trunk/libiberty/hashtab.c:630
0x9078e7 get_cgraph_node_version(cgraph_node*)
/space/rguenther/src/svn/trunk/gcc/cgraph.c:177
0x907ae7 record_function_versions(tree_node*, tree_node*)
/space/rguenther/src/svn/trunk/gcc/cgraph.c:244
0x5d8d2b decls_match(tree_node*, tree_node*)
/space/rguenther/src/svn/trunk/gcc/cp/decl.c:1062
0x7de156 pushdecl_maybe_friend_1
/space/rguenther/src/svn/trunk/gcc/cp/name-lookup.c:711
0x7e19c5 pushdecl_maybe_friend(tree_node*, bool)
/space/rguenther/src/svn/trunk/gcc/cp/name-lookup.c:1221
0x7e19fc pushdecl(tree_node*)
/space/rguenther/src/svn/trunk/gcc/cp/name-lookup.c:1231
...