https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81155
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-08-14 CC| |hjl at gcc dot gnu.org, | |hubicka at gcc dot gnu.org Target Milestone|--- |8.0 Summary|Debug make check |[8 Regression] Debug make |regressions in GCC 8.0 |check regressions in GCC | |8.0 Ever confirmed|0 |1 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Ok, confirmed. Before Honzas change flag_split_stack was -1 (aka default which is supposed to mean 'off' if the target doesn't override that). That caused reorder-and-partition to be disabled if not explicitely enabled. The new guality FAILs happen for all option flags, not just LTO (this was what confused me). FAIL: gcc.dg/guality/pr45882.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 d == 112 FAIL: gcc.dg/guality/pr45882.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 e == 142 is present even before the change. Adding -fno-reorder-blocks-and-partition to the test fixes things but I wonder what causes the debug info to degrade (or gdb to barf). I think HJs pending patch in this area might fix things?