Projet_SETI_RISC-V/riscv-gnu-toolchain/gcc/gcc/testsuite/gcc.dg/pr58742-1.c
2023-03-06 14:48:14 +01:00

12 lines
269 B
C

/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-cddce1" } */
int *
fx (int *b, int *e)
{
__SIZE_TYPE__ p = e - b;
/* The first forwprop pass should optimize this to return e; */
return b + p;
}
/* { dg-final { scan-tree-dump "return e" "cddce1" } } */