]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/pr70152.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr70152.c
1 /* PR tree-optimization/70152 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
4
5 int a;
6 int foo (void);
7 int setjmp (char *);
8 char buf[64];
9
10 static int
11 bar (int x)
12 {
13 x = 0;
14 setjmp (buf);
15 for (;;)
16 {
17 switch (x)
18 case 5:
19 x = foo ();
20 }
21 }
22
23 void
24 baz (void)
25 {
26 bar (a);
27 }