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
/
torture
/
pr80304.c
blob
814f08017c22dc558243c77174818694e55ce3b5
1
/* { dg-do run } */
2
3
int
__attribute__
((
pure
,
noinline
,
noclone
))
foo
(
int
*
p
)
4
{
5
return
*
p
*
2
;
6
}
7
8
int
main
()
9
{
10
int
k
=
0
;
11
int
i
;
12
#pragma GCC ivdep
13
for
(
k
=
0
;
k
<
9
;)
14
{
15
i
=
0
;
16
while
(
1
)
17
{
18
k
+=
foo
(&
i
);
19
if
(
k
>
7
)
20
break
;
21
i
++;
22
}
23
}
24
if
(
k
!=
12
)
25
__builtin_abort
();
26
return
0
;
27
}