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
/
pr69719.c
blob
d7489e7810bf98dcd8ade3155e9d073cb5394e25
1
/* { dg-do run } */
2
3
int
b
,
c
=
1
,
e
,
f
;
4
int
a
[
6
][
5
] = { {
0
,
0
,
0
,
0
,
0
}, {
0
,
0
,
0
,
0
,
0
}, {
0
,
1
,
0
,
0
,
0
} };
5
6
void
__attribute__
((
noinline
))
7
fn1
()
8
{
9
int
d
;
10
for
(
b
=
0
;
b
<
5
;
b
++)
11
for
(
d
=
4
;
d
;
d
--)
12
a
[
c
+
1
][
b
] =
a
[
d
+
1
][
d
];
13
}
14
15
int
16
main
()
17
{
18
fn1
();
19
20
if
(
a
[
2
][
1
] !=
0
)
21
__builtin_abort
();
22
23
return
0
;
24
}