[Bug debug/65549] [5 Regression] crash in htab_hash_string with -flto -g

2015-04-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 --- Comment #18 from Richard Biener --- Gone latent with inliner heuristic changes, -fno-inline -flto-partition=max is now required to reproduce the ICE (with -O -g, of course).

[Bug debug/65549] [5 Regression] crash in htab_hash_string with -flto -g

2015-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 --- Comment #17 from Jakub Jelinek --- Lambda functions aren't really nested functions in the tree-nested.c sense, but still are so closely related to the functions they are nested in that IMHO it would be desirable not to split them off into sep

[Bug debug/65549] [5 Regression] crash in htab_hash_string with -flto -g

2015-03-31 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 --- Comment #16 from Jan Hubicka --- Yep, it seems the problem is triggered on and off with random changed in the inliner's decisions...

[Bug debug/65549] [5 Regression] crash in htab_hash_string with -flto -g

2015-03-31 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 --- Comment #15 from Markus Trippelsdorf --- It really started with r219076 aka ipa-inline sreal conversion.

[Bug debug/65549] [5 Regression] crash in htab_hash_string with -flto -g

2015-03-31 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 --- Comment #14 from Markus Trippelsdorf --- (In reply to Markus Trippelsdorf from comment #13) > Started with r220011. But that doesn't make too much sense and indeed when I use an earlier version of the reduced testcase it still crashes with

[Bug debug/65549] [5 Regression] crash in htab_hash_string with -flto -g

2015-03-31 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 Markus Trippelsdorf changed: What|Removed |Added Attachment #35191|0 |1 is obsolete|

[Bug debug/65549] [5 Regression] crash in htab_hash_string with -flto -g

2015-03-31 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 Markus Trippelsdorf changed: What|Removed |Added Attachment #35158|0 |1 is obsolete|

[Bug debug/65549] [5 Regression] crash in htab_hash_string with -flto -g

2015-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 --- Comment #11 from Richard Biener --- And can somebody bisect this with -flto-partition=max (and or reduce further)?

[Bug debug/65549] [5 Regression] crash in htab_hash_string with -flto -g

2015-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 Richard Biener changed: What|Removed |Added Priority|P3 |P1 --- Comment #10 from Richard Biener

[Bug debug/65549] [5 Regression] crash in htab_hash_string with -flto -g

2015-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 Richard Biener changed: What|Removed |Added CC||doko at gcc dot gnu.org --- Comment #9

[Bug debug/65549] [5 Regression] crash in htab_hash_string with -flto -g

2015-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 --- Comment #8 from Richard Biener --- Well, it worked reasonably well (not ICEing) since GCC 4.8 (or 4.9) at least.

[Bug debug/65549] [5 Regression] crash in htab_hash_string with -flto -g

2015-03-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 --- Comment #7 from Jakub Jelinek --- (In reply to Richard Biener from comment #6) > Btw, I always wondered why dwarf2out.c doesn't create such stubs itself when > it requires a parent (via force_decl_die). Most probably because dwarf2out.c has

[Bug debug/65549] [5 Regression] crash in htab_hash_string with -flto -g

2015-03-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 --- Comment #6 from Richard Biener --- Btw, I always wondered why dwarf2out.c doesn't create such stubs itself when it requires a parent (via force_decl_die).

[Bug debug/65549] [5 Regression] crash in htab_hash_string with -flto -g

2015-03-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 --- Comment #5 from Richard Biener --- Doesn't help.

[Bug debug/65549] [5 Regression] crash in htab_hash_string with -flto -g

2015-03-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 --- Comment #4 from Richard Biener --- So this should be more reproducible with -flto-partition=max and also with nested functions? I wonder if we need to call debug_hooks->function_decl for function decls in lto_read_decls similar to how we do

[Bug debug/65549] [5 Regression] crash in htab_hash_string with -flto -g

2015-03-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 Jakub Jelinek changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug debug/65549] [5 Regression] crash in htab_hash_string with -flto

2015-03-27 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 --- Comment #2 from Markus Trippelsdorf --- Created attachment 35158 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35158&action=edit reduced testcase markus@x4 tmp % g++ -std=gnu++1y -flto -g -O2 -r -nostdlib tcp_client.ii lto1: internal

[Bug debug/65549] [5 Regression] crash in htab_hash_string with -flto

2015-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 Richard Biener changed: What|Removed |Added Target Milestone|--- |5.0

[Bug debug/65549] [5 Regression] crash in htab_hash_string with -flto

2015-03-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 Markus Trippelsdorf changed: What|Removed |Added Keywords||lto Status|UNCONFIRMED