summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr38240.c
blob: 99e875894d2fd8a00b4a64111cba1a5da946e758 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-msse" } */

typedef float V
  __attribute__ ((__vector_size__ (16), __may_alias__));

V __attribute__((target("sse"))) f(const V *ptr) { return *ptr; }

V g(const V *ptr) { return *ptr; }