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