public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.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	[thread overview]
Message-ID: <bug-56673-4@http.gcc.gnu.org/bugzilla/> (raw)


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
...


             reply	other threads:[~2013-03-21  9:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-21  9:00 rguenth at gcc dot gnu.org [this message]
2020-07-23 17:32 ` [Bug c++/56673] " mpolacek at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-56673-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).