[Bug lto/66228] Compiling simple program with -flto -O1 causes mad behaviour

2021-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66228 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.4 Status|NEW

[Bug lto/66228] Compiling simple program with -flto -O1 causes mad behaviour

2021-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66228 --- Comment #2 from Andrew Pinski --- (In reply to Richard Biener from comment #1) > I think this is an effective duplicate of PR61886. With GCC 5 I get > > rguenther@murzim:/tmp> gcc-5 t.i -O -flto Right you need to either use -std=gnu90 or

[Bug lto/66228] Compiling simple program with -flto -O1 causes mad behaviour

2015-05-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66228 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code