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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2026-07-09
           Priority|P3                          |P2
      Known to fail|                            |11.5.0, 15.3.0, 16.1.0
             Status|UNCONFIRMED                 |NEW
                 CC|                            |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  -fno-tree-vrp also avoids the issue.

Instead of using -flto or -fwhole-program you can reflect their effect with
making the global int vars and the function 'a' static.

Reply via email to