blob: 1307d059a5041730e8d9a8f92d1b0a846d07601b [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-ccp1" } */
typedef int vec __attribute__ ((vector_size (4 * sizeof (int))));
void f (vec *r)
{
vec a = { 2, 3, 4, 5 };
*r = (a << 2) >> 1;
}
/* { dg-final { scan-tree-dump "{ 4, 6, 8, 10 }" "ccp1"} } */