Debian Codegraph @

gcc/testsuite/gcc.target/powerpc/pr111673.c

raw
1 /* { dg-do compile { target lp64 } } */
2 /* { dg-options "-O2 -fdump-rtl-pro_and_epilogue" } */
3
4 /* Verify there is an early return without the prolog and shrink-wrap
5 the function. */
6
7 int f (int);
8 int
9 advance (int dz)
10 {
11 if (dz > 0)
12 return (dz + dz) * dz;
13 else
14 return dz * f (dz);
15 }
16
17 /* { dg-final { scan-rtl-dump-times "Performing shrink-wrapping" 1 "pro_and_epilogue" } } */