2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr58742-1.c
blob94f56273f4956bdea690ebd1d9b5eebb5a31845c
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-cddce1" } */
4 int *
5 fx (int *b, int *e)
7 __SIZE_TYPE__ p = e - b;
8 /* The first forwprop pass should optimize this to return e; */
9 return b + p;
12 /* { dg-final { scan-tree-dump "return e" "cddce1" } } */
13 /* { dg-final { cleanup-tree-dump "cddce1" } } */