summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr47780.c
blob: 89fe4093dfc4d6e3672850197702ef09ace98130 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR debug/47780 */
/* { dg-do compile } */
/* { dg-options "-O -fgcse -fgcse-las -fstack-protector-all -fno-tree-ccp -fno-tree-dominator-opts -fcompare-debug -Wno-psabi" } */

typedef int V2SF __attribute__ ((vector_size (128)));

V2SF
foo (int x, V2SF a)
{
  V2SF b = a + (V2SF) {};
  while (x--)
    a += b;
  return a;
}