https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97196
--- Comment #2 from Miguel ---
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97196
Miguel changed:
What|Removed |Added
Summary|Difference in output|Difference in output
|between
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97196
Bug ID: 97196
Summary: Difference in output between no optimization and -O2,
triggered by a variable wrapped in parentheses in the
RHS of the assignment operator
Product: gc