gcc/testsuite/gcc.dg/pr103775.c
raw| 1 | /* PR rtl-optimization/103775 */ |
| 2 | /* { dg-do assemble { target int128 } } */ |
| 3 | /* { dg-options "-Og -fno-forward-propagate -free -g" } */ |
| 4 | |
| 5 | int |
| 6 | foo (char a, short b, int c, __int128 d, char e, short f, int g, __int128 h) |
| 7 | { |
| 8 | long i = __builtin_clrsbll ((char) h); |
| 9 | __builtin_memset ((char *) &h + 4, d, 3); |
| 10 | c &= (char) h; |
| 11 | return c + i; |
| 12 | } |