[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2012-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #23 from Richard Guenther rguenth at gcc dot gnu.org 2012-01-03 11:30:32 UTC --- Author: rguenth Date: Tue Jan 3 11:30:27 2012 New Revision: 182835 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=182835 Log: 2012-01-03 Richard

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2012-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2012-01-03 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added CC||reichelt at gcc

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2012-01-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #21 from Richard Guenther rguenth at gcc dot gnu.org 2012-01-02 15:52:45 UTC --- (In reply to comment #20) Fortunately it seems that this bug was the last issue that needed to be fixed. Firefox now builds fine with -lto and -g.

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2012-01-02 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #22 from Markus Trippelsdorf markus at trippelsdorf dot de 2012-01-02 16:52:49 UTC --- (In reply to comment #21) (In reply to comment #20) Fortunately it seems that this bug was the last issue that needed to be fixed.

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-23 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #14 from Richard Guenther rguenth at gcc dot gnu.org 2011-12-23 09:17:41 UTC --- Thanks ... :(

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-23 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added CC||hubicka at

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-23 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #16 from Richard Guenther rguenth at gcc dot gnu.org 2011-12-23 11:13:20 UTC --- We can fix the resolution with Index: gcc/lto-symtab.c === --- gcc/lto-symtab.c

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-23 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #17 from Richard Guenther rguenth at gcc dot gnu.org 2011-12-23 11:23:56 UTC --- (In reply to comment #16) We can fix the resolution with Index: gcc/lto-symtab.c ===

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-23 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #18 from Richard Guenther rguenth at gcc dot gnu.org 2011-12-23 11:45:53 UTC --- Even for struct T; struct C { typedef ::T T; static T *m () { static T *d __attribute__((used)); return d; } }; int

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-23 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #19 from Richard Guenther rguenth at gcc dot gnu.org 2011-12-23 11:51:41 UTC --- A workaround for ICEs of this form is Index: gcc/dwarf2out.c === --- gcc/dwarf2out.c

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-23 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #20 from Markus Trippelsdorf markus at trippelsdorf dot de 2011-12-23 13:56:55 UTC --- (In reply to comment #19) A workaround for ICEs of this form is Index: gcc/dwarf2out.c

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-22 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-22 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #2 from Richard Guenther rguenth at gcc dot gnu.org 2011-12-22 11:44:04 UTC --- Reduced testcase: struct T; class C { public: typedef ::T T; static T *m () { static T *d; return d; } }; int fn () {

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-22 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #3 from Richard Guenther rguenth at gcc dot gnu.org 2011-12-22 12:00:27 UTC --- In non-LTO mode we create the DIE for 'C' (which we do not create at all with -flto) via #3 0x00d54c57 in rest_of_type_compilation

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-22 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #4 from Markus Trippelsdorf markus at trippelsdorf dot de 2011-12-22 12:51:08 UTC --- (In reply to comment #3) In non-LTO mode we create the DIE for 'C' (which we do not create at all with -flto) via #3 0x00d54c57 in

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-22 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #5 from Richard Guenther rguenth at gcc dot gnu.org 2011-12-22 13:10:44 UTC --- (In reply to comment #4) (In reply to comment #3) Markus, can you give it a shot? libxul still fails to build with the same error message (but there

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-22 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #6 from Markus Trippelsdorf markus at trippelsdorf dot de 2011-12-22 13:17:46 UTC --- % cat test.ii typedef struct { } X; void test () { typedef X **P; P g = 0; } % g++ test.ii -g -flto -flto-partition=none lto1: internal

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-22 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #7 from Markus Trippelsdorf markus at trippelsdorf dot de 2011-12-22 13:26:26 UTC --- (In reply to comment #6) % cat test.ii typedef struct { } X; void test () { typedef X **P; P g = 0; } % g++ test.ii -g -flto

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-22 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #8 from Richard Guenther rguenth at gcc dot gnu.org 2011-12-22 13:34:15 UTC --- Oops, typo - it should be else if (!flag_wpa TREE_CODE (t) == TYPE_DECL) debug_hooks-type_decl (t, !DECL_FILE_SCOPE_P (t));

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-22 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #9 from Richard Guenther rguenth at gcc dot gnu.org 2011-12-22 15:28:32 UTC --- Author: rguenth Date: Thu Dec 22 15:28:24 2011 New Revision: 182625 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=182625 Log: 2011-12-22 Richard

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-22 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-22 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 Markus Trippelsdorf markus at trippelsdorf dot de changed: What|Removed |Added Status|RESOLVED

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-22 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #12 from Markus Trippelsdorf markus at trippelsdorf dot de 2011-12-22 18:45:24 UTC --- % cat pr51650.ii class nsQueryFrame { }; struct PLDHashEntryHdr { }; template class class nsPtrHashKey:PLDHashEntryHdr { }; class nsIFrame;

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-22 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #13 from Markus Trippelsdorf markus at trippelsdorf dot de 2011-12-22 19:14:38 UTC --- Reduced (it almost identical to the first testcase): struct T; class C { public: typedef ::T T; virtual void E(); static T *m ()

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-21 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Keywords|