aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/pure-code/pr94538-1.c
blob: 68c223fbd15edb97fea7012ea9fd7d4491fa1f7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-require-effective-target arm_cpu_cortex_m23_ok } */
/* { dg-options "-mpure-code" } */
/* { dg-add-options arm_cpu_cortex_m23 } */

typedef int __attribute__ ((__vector_size__ (16))) V;

V v;

void
foo (void)
{
  v += (V){4095};
}