libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / pr103838.c
blobcde44e6e4e3791fcbbac33889e06021a8f43b004
1 /* PR debug/103838 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fcompare-debug" } */
5 #ifdef __SIZEOF_INT128__
6 __int128 m;
7 #else
8 long long m;
9 #endif
10 int n;
12 __attribute__((noinline)) void
13 bar (void)
15 n += !!m;
18 void
19 foo (void)
21 int i;
23 for (i = 0; i < 2; ++i)
25 bar ();
26 m /= 3;