Debian Codegraph @

gcc/testsuite/gcc.dg/tsan/pr90208-2.c

raw
1 /* PR tree-optimization/90208 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fexceptions -fsanitize=thread" } */
4
5 void *b[5];
6 void foo (void);
7
8 void
9 bar (int d)
10 {
11 while (d)
12 foo ();
13 }
14
15 void
16 baz (void)
17 {
18 bar (2);
19 __builtin_setjmp (b);
20 }