[Bug tree-optimization/124777] [16 Regression] wrong code at -O on x86_64-pc-linux-gnu

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Apr 4 03:05:10 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124777

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[16 Regression] wrong code  |[16 Regression] wrong code
                   |at -Os -fprofile-generate   |at -O on
                   |on x86_64-pc-linux-gnu      |x86_64-pc-linux-gnu
   Last reconfirmed|                            |2026-04-04
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Target Milestone|---                         |16.0

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fails at -O1 also (even without -fprofile-generate). Needs -fsanitize=undefined
to see it though.


More information about the Gcc-bugs mailing list