summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr48389.c
blob: d43f664d8b4f21dbc96aaba43897bb05bd244a9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR middle-end/48389 */
/* { dg-do compile } */
/* { dg-options "-O -mtune=pentiumpro -Wno-abi" } */
/* { dg-require-effective-target ilp32 } */
typedef float V2SF __attribute__ ((vector_size (128)));
V2SF foo (int x, V2SF a)
{
  V2SF b = {};
  if (x & 42)
    b = a;
  a += b;
  return a;
}