aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr111303.c
blob: eaabe55c105d4c39a90851f9aeda0dcd411c6586 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-O2" } */

/* Make sure no ICE. */
unsigned char a;
int b(int c) {
  if (c >= 5000)
    return c / 5;
}
void d() { b(a - 5); }
int main() {}