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
/
pr106621.c
blob
0465de4f14f4ed8f2eb95848ce1c5508295f9d9d
1
/* { dg-do compile { target aarch64*-*-* } } */
2
/* { dg-options "-mcpu=neoverse-v1 -O2 -fvect-cost-model=dynamic -fno-tree-scev-cprop" } */
3
4
int
m
,
n
;
5
6
void
7
foo
(
unsigned int
x
,
short int
y
)
8
{
9
if
(
m
)
10
for
(;;)
11
{
12
++
m
;
13
while
(
m
<
1
)
14
{
15
n
+=
m
+
x
;
16
++
m
;
17
}
18
}
19
20
for
(;;)
21
if
(
y
)
22
{
23
++
x
;
24
if
(
x
)
25
for
(
y
=
0
;
y
<
75
;
y
+=
2
)
26
{
27
}
28
}
29
}
30