blob: 3475360462b41123d23af78f9fc4f5ed22cf0c72 [file] [log] [blame]
/* { dg-additional-options "-fno-strict-aliasing" } */
/* PR target/103170 */
/* AARCH64 used to ICE on this for a typo in the string template. */
#define vector __attribute__((vector_size(4*sizeof(float))))
typedef vector float v4sf;
v4sf f(int t)
{
float tt = *(float*)&t;
asm("":"+r"(tt));
return (v4sf){tt,tt,tt,tt};
}