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
Testsuite, darwin: account for macOS 15
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
pr42505.c
blob
5ddfea1da93fc62a0d86120d22cd7d3ee33d7b70
1
/* { dg-options "-Os" } */
2
/* { dg-final { scan-assembler-not "str\[\\t \]*r.,\[\\t \]*.sp," } } */
3
4
struct
A
{
5
int
f1
;
6
int
f2
;
7
};
8
9
int
func
(
int
c
);
10
11
/* This function should not need to spill anything to the stack. */
12
int
test
(
struct
A
*
src
,
struct
A
*
dst
,
int
count
)
13
{
14
while
(
count
--) {
15
if
(!
func
(
src
->
f2
)) {
16
return
0
;
17
}
18
*
dst
++ = *
src
++;
19
}
20
21
return
1
;
22
}