summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr77860.c
blob: 04346b16e779fc1cd7cd4d80e5a9f511a1b5207e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR tree-optimization/77860 */
/* { dg-do compile } */
/* { dg-options "-O2 -fno-tree-vrp -fno-tree-forwprop -Wno-psabi" } */

typedef unsigned short V __attribute__((vector_size (16)));

V
foo (V x, V y)
{
  V a = -x;
  V b = -y;
  return a * b;
}