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
* [Bug ipa/58292] ICE in ipa-devirt.c 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 ` pinskia at gcc dot gnu.org 2013-09-02 4:33 ` Joost.VandeVondele at mat dot ethz.ch ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu.org @ 2013-09-01 18:02 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58292 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Component|c |ipa --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note it is hard to reproduce this since the D front-end is out of tree. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ipa/58292] ICE in ipa-devirt.c 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 3 siblings, 0 replies; 5+ messages in thread From: Joost.VandeVondele at mat dot ethz.ch @ 2013-09-02 4:33 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58292 Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Joost.VandeVondele at mat dot ethz | |.ch --- Comment #2 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> --- most likely a dup of PR58290 ? ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ipa/58292] ICE in ipa-devirt.c 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 3 siblings, 0 replies; 5+ messages in thread From: t.sintonen at luukku dot com @ 2013-09-02 14:33 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58292 --- Comment #3 from Timo Sintonen <t.sintonen at luukku dot com> --- It seems gdc has a fix that does not produce this any more ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ipa/58292] ICE in ipa-devirt.c 2013-09-01 15:24 [Bug c/58292] New: ICE in ipa-devirt.c t.sintonen at luukku dot com ` (2 preceding siblings ...) 2013-09-02 14:33 ` t.sintonen at luukku dot com @ 2013-09-03 5:40 ` Joost.VandeVondele at mat dot ethz.ch 3 siblings, 0 replies; 5+ messages in thread From: Joost.VandeVondele at mat dot ethz.ch @ 2013-09-03 5:40 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58292 Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> --- (In reply to Timo Sintonen from comment #3) > It seems gdc has a fix that does not produce this any more OK, lets close this bug as fixed, to be reopened with a testcase if this resurfaces ^ 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).