Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr58742-3.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O -fdump-tree-cddce1" } */ int * fx (int *a, int sz) { int *b = a + sz; b = b - sz; /* forwprop together with FRE should optimize this to return a; */ return b; } /* { dg-final { scan-tree-dump "return a" "cddce1" } } */