https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110233
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2023-06-14
Summary|Wrong code at -Os on |[12/13/14 Regression] Wrong
|x86_64-linux-gnu |code at -Os on
| |x86_64-linux-gnu
Component|c |middle-end
Status|UNCONFIRMED |NEW
Known to work| |11.3.0
Known to fail| |12.1.0
Target Milestone|--- |12.4
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
-fno-ivopts fixes the runtime issue ...