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
/
pr93586.c
blob
e861bdcd78ee81bc8f3eca50deb76622638f6e18
1
/* { dg-do run } */
2
/* { dg-additional-options "-fgimple" } */
3
4
int
__GIMPLE
(
ssa
)
foo
(
int
j
)
5
{
6
int
c
[
1
][
10
][
1
];
7
int
_1
;
8
9
__BB
(
2
):
10
c
[
0
][
1
][
0
] =
1
;
11
c
[
0
][
1
] =
_Literal
(
int
[
1
]) {};
12
_1
=
c
[
0
][
j_2
(
D
)][
0
];
13
return
_1
;
14
}
15
16
int
main
()
17
{
18
if
(
foo
(
1
) !=
0
)
19
__builtin_abort
();
20
return
0
;
21
}