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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr104782.c
blob
7b8ca6ca25bc0933b3e7e2a2ef6bcdf7a37bd685
1
/* { dg-do compile } */
2
/* { dg-additional-options "-O3" } */
3
/* { dg-additional-options "-march=armv8.2-a+sve -msve-vector-bits=128" { target aarch64-*-* } } */
4
5
int
a
,
b
,
c
;
6
static int
d
;
7
short
*
q
;
8
void
f
() {
9
int
*
p
= &
d
;
10
b
=
9
;
11
for
(
b
=
9
;
b
;
b
--) {
12
a
=
2
;
13
for
(
c
=
2
;
c
<=
9
;
c
++) {
14
for
(
int
i
=
0
;
i
<
3
;
i
++)
15
*
p
|= (*
q
)++;
16
}
17
}
18
}