2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / vector-shift-2.c
blob380f2dfb3074aee3e3d2a56b8619705a062b7897
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-ccp1" } */
4 typedef unsigned vec __attribute__ ((vector_size (4*sizeof(int))));
5 void
6 f (vec *a)
8 vec s = { 5, 5, 5, 5 };
9 *a = *a << s;
12 /* { dg-final { scan-tree-dump "<< 5" "ccp1" } } */
13 /* { dg-final { cleanup-tree-dump "ccp1" } } */