https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98663
--- Comment #5 from charliepdts at gmx dot at ---
Hi Jakub, thanks for the detailed description and the insights as to the
assumptions that the compiler uses when optimizing code like this.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98663
--- Comment #3 from charliepdts at gmx dot at ---
While I appreciate the anything can happen, what surprised us was the lack of
any kind of warning.
Does the compiler not notice the access outside the array in this case?
background: we are worki
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98663
Bug ID: 98663
Summary: gcc generates endless loop at -O2 or greater depending
on order of testExpression
Product: gcc
Version: 4.9.1
Status: UNCONFIRMED
Severit