Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
gcc.target
/
powerpc
/
conditional-return.c
blob: 6b3ef5f52ca8371a491059cca530e0a7e2085f5d [
file
] [
log
] [
blame
]
/* Check that a conditional return is used. */
/* { dg-do compile } */
/* { dg-options "-O2 -w" } */
/* { dg-final { scan-assembler {\mbeqlr\M} } } */
int
f
(
int
x
)
{
if
(
x
)
return
x
+
31
;
return
;
}