Sign in
gnu
/
gcc.git
/
94edbc153ae4f1c1532859836e528fc480da82d6
/
.
/
gcc
/
testsuite
/
c-c++-common
/
zero-scratch-regs-leafy-1.c
blob: c1a0c31ba1c3701ff1508baddb17dd5d6b1e7c02 [
file
] [
log
] [
blame
]
/* { dg-do run } */
/* { dg-options "-O2 -fzero-call-used-regs=leafy" } */
volatile
int
result
=
0
;
int
__attribute__
((
noipa
))
foo
(
int
x
)
{
return
x
;
}
int
main
()
{
result
=
foo
(
2
);
return
0
;
}