https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126899
--- Comment #1 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
volatile int sink;
void f (int i, int *out)
{
if (i)
*out = 1;
sink = 1;
sink = 2;
sink = 3;
sink = 4;
sink = 5;
sink = 6;
sink = 7;
sink = 8; // <— fix typo
if (i)
*out = 2;
}
Fixing typo in testcase. Ughh, serves me right for working from a tablet.
