gcc/gcc/testsuite/gcc.dg/pr100349.c

17 lines
227 B
C

// { dg-do compile }
// { dg-options "-O2 -w" }
#include <stdint.h>
uint8_t a;
b(int8_t c) {
int d;
e:
uint32_t f;
for (;;)
for (c = 10; c; c++)
if (0 > (a = c) ?: d) {
f = a;
goto e;
}
}