gcc/testsuite/gcc.dg/pr97741.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-Wall -Wextra -fno-strict-aliasing -fwrapv -Os -fno-toplevel-reorder -fno-tree-ccp -fno-tree-fre" } */ |
| 3 | |
| 4 | short a = 0; |
| 5 | long b = 0; |
| 6 | char c = 0; |
| 7 | void d() { |
| 8 | int e = 0; |
| 9 | f: |
| 10 | for (a = 6; a;) |
| 11 | c = e; |
| 12 | e = 0; |
| 13 | for (; e == 20; ++e) |
| 14 | for (; b;) |
| 15 | goto f; |
| 16 | } |
| 17 | int main() { return 0; } |