gcc/testsuite/gcc.dg/pr105911.c
raw| 1 | /* PR target/105911 */ |
| 2 | /* { dg-do compile { target int128 } } */ |
| 3 | /* { dg-options "-O2" } */ |
| 4 | |
| 5 | __int128 v, x; |
| 6 | unsigned __int128 w; |
| 7 | |
| 8 | void bar (__int128, __int128); |
| 9 | |
| 10 | void |
| 11 | foo (void) |
| 12 | { |
| 13 | bar (v /= v, v >> (v &= 0x100000001)); |
| 14 | bar (w /= w, w >> (w &= 0x300000003)); |
| 15 | bar (x /= x, x << (x &= 0x700000007)); |
| 16 | } |