gcc/testsuite/gcc.dg/pr88594.c
raw| 1 | /* PR target/88594 */ |
| 2 | /* { dg-do compile { target int128 } } */ |
| 3 | /* { dg-options "-O2 -fno-tree-dominator-opts -fno-tree-forwprop -fno-tree-vrp" } */ |
| 4 | |
| 5 | __int128 |
| 6 | foo (__int128 x, __int128 *y) |
| 7 | { |
| 8 | int a; |
| 9 | __int128 z, r; |
| 10 | for (a = 0; a < 17; ++a) |
| 11 | ; |
| 12 | z = x / a; |
| 13 | r = x % a; |
| 14 | *y = z; |
| 15 | return r; |
| 16 | } |