summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr59261.c
blob: 6b912deb09201825185abad018241312891c27fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR middle-end/59261 */
/* { dg-do compile } */
/* { dg-options "-O2" } */

typedef signed char V __attribute__((vector_size (8)));

void
foo (V *a, V *b)
{
  *a = *b * 3;
}

void
bar (V *a, V *b)
{
  *a = *b * 4;
}