repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
zero-scratch-regs-leafy-1.c
blob
c1a0c31ba1c3701ff1508baddb17dd5d6b1e7c02
1
/* { dg-do run } */
2
/* { dg-options "-O2 -fzero-call-used-regs=leafy" } */
3
4
volatile
int
result
=
0
;
5
int
6
__attribute__
((
noipa
))
7
foo
(
int
x
)
8
{
9
return
x
;
10
}
11
int
main
()
12
{
13
result
=
foo
(
2
);
14
return
0
;
15
}