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: Add tests for C23 __STDC_VERSION__
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
sve
/
acle
/
general
/
pr96146.c
blob
b05fac4918dff830fcf3d2ab7659e8e36f016dd7
1
/* { dg-do run { target aarch64_sve_hw } } */
2
/* { dg-options "-O3" } */
3
4
#include <arm_sve.h>
5
6
void
__attribute__
((
noipa
))
7
f
(
volatile
int
*
x
)
8
{
9
int
i
;
10
for
(
int
i
=
0
;
i
<
svcntd
(); ++
i
)
11
*
x
=
i
;
12
}
13
14
int
15
main
(
void
)
16
{
17
volatile
int
x
;
18
f
(&
x
);
19
return
0
;
20
}