gcc/testsuite/gcc.target/i386/pr47780.c
raw| 1 | /* PR debug/47780 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-O -fgcse -fgcse-las -fstack-protector-all -fno-tree-ccp -fno-tree-dominator-opts -fcompare-debug -Wno-psabi" } */ |
| 4 | |
| 5 | typedef int V2SF __attribute__ ((vector_size (128))); |
| 6 | |
| 7 | V2SF |
| 8 | foo (int x, V2SF a) |
| 9 | { |
| 10 | V2SF b = a + (V2SF) {}; |
| 11 | while (x--) |
| 12 | a += b; |
| 13 | return a; |
| 14 | } |