gcc/testsuite/gcc.target/i386/pr96744-3a.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-msse2" } */ |
| 3 | |
| 4 | typedef int int32x4_t __attribute__ ((__vector_size__ ((16)))); |
| 5 | extern int32x4_t c; |
| 6 | |
| 7 | __attribute__((__target__("general-regs-only"))) |
| 8 | void |
| 9 | test (int32x4_t a, int32x4_t b) /* { dg-warning "SSE vector argument without SSE enabled" } */ |
| 10 | { |
| 11 | c = a + b; |
| 12 | } |