public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/58292] New: ICE in ipa-devirt.c
@ 2013-09-01 15:24 t.sintonen at luukku dot com
  2013-09-01 18:02 ` [Bug ipa/58292] " pinskia at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: t.sintonen at luukku dot com @ 2013-09-01 15:24 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58292

            Bug ID: 58292
           Summary: ICE in ipa-devirt.c
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: t.sintonen at luukku dot com

I use gcc with gdc to compile D language programs. With the latest git head I
get compiler crash with:

internal compiler error: Segmentation fault
0x99b39f crash_signal
    ../../gcc/gcc/toplev.c:335
0x8413ec tree_check
    ../../gcc/gcc/tree.h:3689
0x8413ec get_odr_type(tree_node*, bool)
    ../../gcc/gcc/ipa-devirt.c:263
0x841ac2 build_type_inheritance_graph()
    ../../gcc/gcc/ipa-devirt.c:360
0x6b6e21 analyze_functions
    ../../gcc/gcc/cgraphunit.c:854
0x6b8285 finalize_compilation_unit()
    ../../gcc/gcc/cgraphunit.c:2151
0x5fe5b4 d_write_global_declarations
    ../../gcc/gcc/d/d-lang.cc:619

This occurs every time at the end of a class, no matter what the class
contains.

This is what I got from the gdc expert Iain:

Yep reproducible on current development snapshot...   raise a bug if
you haven't already done so.  Fix is simple enough (move generation of
BINFO out of toDebug as is required regardless of whether -g was sent
on the command-line).


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

end of thread, other threads:[~2013-09-03  5:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-01 15:24 [Bug c/58292] New: ICE in ipa-devirt.c t.sintonen at luukku dot com
2013-09-01 18:02 ` [Bug ipa/58292] " pinskia at gcc dot gnu.org
2013-09-02  4:33 ` Joost.VandeVondele at mat dot ethz.ch
2013-09-02 14:33 ` t.sintonen at luukku dot com
2013-09-03  5:40 ` Joost.VandeVondele at mat dot ethz.ch

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