public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/56673] New: multi-versioning not GC safe
@ 2013-03-21  9:00 rguenth at gcc dot gnu.org
  2020-07-23 17:32 ` [Bug c++/56673] " mpolacek at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-03-21  9:00 UTC (permalink / raw)
  To: gcc-bugs


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c++/56673] multi-versioning not GC safe
  2013-03-21  9:00 [Bug c++/56673] New: multi-versioning not GC safe rguenth at gcc dot gnu.org
@ 2020-07-23 17:32 ` mpolacek at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2020-07-23 17:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56673

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Got fixed by r204039.  Probably not worth adding the test.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-23 17:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-21  9:00 [Bug c++/56673] New: multi-versioning not GC safe rguenth at gcc dot gnu.org
2020-07-23 17:32 ` [Bug c++/56673] " mpolacek at gcc dot gnu.org

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