PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / pr70771.c
blobfea0c5ae3928771b8f77d244d90e33a03f45cc92
1 /* { dg-do compile } */
2 /* { dg-options "-O3" } */
4 int a, b, c, d;
6 static void
7 fn1 ()
9 for (b = 0; b < 1; b++)
10 for (c = 0; c < 1; c++)
12 if (a)
13 break;
14 b = 1;
16 for (;;)
20 int
21 main ()
23 if (d)
24 fn1 ();
25 return 0;