]>
Commit | Line | Data |
---|---|---|
78ee8381 JJ |
1 | /* PR debug/103838 */ |
2 | /* { dg-do compile } */ | |
3 | /* { dg-options "-O2 -fcompare-debug" } */ | |
4 | ||
5 | #ifdef __SIZEOF_INT128__ | |
6 | __int128 m; | |
7 | #else | |
8 | long long m; | |
9 | #endif | |
10 | int n; | |
11 | ||
12 | __attribute__((noinline)) void | |
13 | bar (void) | |
14 | { | |
15 | n += !!m; | |
16 | } | |
17 | ||
18 | void | |
19 | foo (void) | |
20 | { | |
21 | int i; | |
22 | ||
23 | for (i = 0; i < 2; ++i) | |
24 | { | |
25 | bar (); | |
26 | m /= 3; | |
27 | } | |
28 | } |