view gcc/testsuite/c-c++-common/vector-scalar-2.c @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* { dg-do compile } */
/* { dg-options "-fdump-tree-gimple" } */

typedef int veci __attribute__ ((vector_size (4 * sizeof (int))));

int c;

void f (veci *a)
{
  *a = *a + ++c;
}

/* { dg-final { scan-tree-dump-times " \\\+ 1" 1 "gimple" } } */