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

--- Comment #2 from Miguel <m.bartelsman.mejia at student dot rug.nl> ---
Trigger seems to be line 22, in the loop guard. If I change `while (x != 0)` to
`while (x)` the program then behaves properly regardless of optimization level.

Reply via email to