comparison gcc/testsuite/gcc.dg/pr58742-1.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-cddce1" } */
3
4 int *
5 fx (int *b, int *e)
6 {
7 __SIZE_TYPE__ p = e - b;
8 /* The first forwprop pass should optimize this to return e; */
9 return b + p;
10 }
11
12 /* { dg-final { scan-tree-dump "return e" "cddce1" } } */