From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23109 invoked by alias); 21 Mar 2013 09:00:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 23068 invoked by uid 48); 21 Mar 2013 09:00:30 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/56673] New: multi-versioning not GC safe Date: Thu, 21 Mar 2013 09:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-03/txt/msg01444.txt.bz2 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 ...