PR testsuite/52641
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-lim-7.c
blobf8e15f344860b6408ce34a6ce2278367c8e6811d
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-lim1-details" } */
4 extern const int srcshift;
6 void foo (int *srcdata, int *dstdata)
8 int i;
10 for (i = 0; i < 256; i++)
11 dstdata[i] = srcdata[i] << srcshift;
14 /* { dg-final { scan-tree-dump "Moving statement" "lim1" } } */
15 /* { dg-final { cleanup-tree-dump "lim1" } } */