[Bug tree-optimization/117420] wrong code at -O1 on x86_64-linux-gnu

2024-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117420 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 Last reconfirmed|

[Bug tree-optimization/117420] wrong code at -O1 on x86_64-linux-gnu

2024-11-02 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117420 --- Comment #1 from Zhendong Su --- A related test that is miscompiled at -O{s,2,3}, but not -O1. Compiler Explorer: https://godbolt.org/z/Pe3j3sTzj [560] % gcctk -v Using built-in specs. COLLECT_GCC=gcctk COLLECT_LTO_WRAPPER=/local/home/suz