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
/
pr53501.c
blob
36e3ae61e8f8d712c7edce7fe4fd140f89acc926
1
/* { dg-do run } */
2
3
extern
void
abort
(
void
);
4
5
int
e
[
100
],
n
,
here
;
6
7
void
__attribute__
((
noinline
))
8
foo
(
void
)
9
{
10
int
i
,
k
=
0
;
11
for
(
i
=
0
;
i
<
n
; ++
i
) {
e
[
k
] =
10
; ++
k
;
e
[
k
] =
10
; ++
k
; }
12
for
(
i
=
0
;
i
<
k
; ++
i
)
here
=
1
;
13
if
(
here
!=
1
)
14
abort
();
15
}
16
17
int
main
(
void
)
18
{
19
n
=
10
;
20
foo
();
21
return
0
;
22
}