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