Debian Codegraph @

gcc/testsuite/gcc.target/powerpc/conditional-return.c

raw
1 /* Check that a conditional return is used. */
2
3 /* { dg-do compile } */
4 /* { dg-options "-O2 -fpermissive -w" } */
5
6 /* { dg-final { scan-assembler {\mbeqlr\M} } } */
7
8
9 int f(int x)
10 {
11 if (x)
12 return x + 31;
13
14 return;
15 }