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
/
pr111137.c
blob
77560487926ecb14c9f5c0e098b5334dd63128ab
1
/* { dg-do run } */
2
3
int
b
[
3
][
8
];
4
short
d
;
5
volatile
int
t
=
1
;
6
7
void
__attribute__
((
noipa
))
8
foo
()
9
{
10
int
g
=
t
;
11
for
(
int
e
=
1
;
e
>=
0
;
e
--)
12
{
13
d
=
1
;
14
for
(;
d
>=
0
;
d
--)
15
{
16
b
[
0
][
d
*
2
+
1
] =
0
;
17
b
[
g
-
1
+
d
][
0
] ^=
1
;
18
b
[
0
][
d
*
2
+
2
] =
0
;
19
b
[
g
-
1
+
d
][
1
] ^=
1
;
20
}
21
}
22
}
23
24
int
25
main
()
26
{
27
foo
();
28
if
(
b
[
0
][
1
] !=
1
)
29
__builtin_abort
();
30
}