aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr97741.c
blob: 47115d31d4a00454acdae945279ba749679a11f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do compile } */
/* { dg-options "-Wall -Wextra -fno-strict-aliasing -fwrapv -Os -fno-toplevel-reorder -fno-tree-ccp -fno-tree-fre" } */

short a = 0;
long b = 0;
char c = 0;
void d() {
  int e = 0;
f:
  for (a = 6; a;)
    c = e;
  e = 0;
  for (; e == 20; ++e)
    for (; b;)
      goto f;
}
int main() { return 0; }