summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr96744-3b.c
blob: 389b5cf989780577d0a36f3445baf5d76d6cbb30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */
/* { dg-options "-msse2" } */

typedef int int32x4_t __attribute__ ((__vector_size__ ((16))));
extern int32x4_t c;

#pragma GCC push_options
#pragma GCC target("general-regs-only")

void
test (int32x4_t a, int32x4_t b) /* { dg-warning "SSE vector argument without SSE enabled" } */
{
  c = a + b;
}

#pragma GCC pop_options