view gcc/testsuite/gcc.dg/vector-shift.c @ 152:2b5abeee2509

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-original" } */

typedef unsigned vec __attribute__ ((vector_size (4 * sizeof (int))));

void
f (vec *x)
{
  *x = (*x << 4) << 3;
}

/* { dg-final { scan-tree-dump "<< 7" "original" } } */