gcc/testsuite/gcc.target/powerpc/pr110411-2.c
raw| 1 | /* PR target/110411 */ |
| 2 | /* { dg-require-effective-target power10_ok } */ |
| 3 | /* { dg-options "-O2 -mdejagnu-cpu=power10" } */ |
| 4 | |
| 5 | /* Verify we do not ICE on the following. */ |
| 6 | |
| 7 | void |
| 8 | bug (__vector_quad *dst) |
| 9 | { |
| 10 | dst = (__vector_quad *)((unsigned long)dst & ~0xFUL); |
| 11 | __builtin_mma_xxsetaccz (dst); |
| 12 | } |