[Bug tree-optimization/123310] [16 Regression] wrong code at -O2 and above on x86_64-pc-linux-gnu

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 26 20:40:17 GMT 2025


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2025-12-26
          Component|middle-end                  |tree-optimization
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
fre3 does:
Value numbering stmt = _3 = c[6].b;
Setting value number of _3 to 0 (changed)

Which seems wrong.


More information about the Gcc-bugs mailing list