[Bug lto/107030] Emitted binary code changes when -g is enabled at -O2 -flto and optimize attribute

2022-09-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107030 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-09-26 Keywords|

[Bug lto/107030] Emitted binary code changes when -g is enabled at -O2 -flto and optimize attribute

2022-09-24 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107030 --- Comment #2 from Andreas Schwab --- But -g is supposed to never change the generated code.

[Bug lto/107030] Emitted binary code changes when -g is enabled at -O2 -flto and optimize attribute

2022-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107030 --- Comment #1 from Andrew Pinski --- I doubt this is a bug. The difference is in the got. If anything the got is slightly different.