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
/
tree-ssa
/
pr23386.c
blob
d322f995b97970d5c7cc86b13a36ff5e89155197
1
/* { dg-do run } */
2
/* { dg-options "-O2" } */
3
4
int
f
[
100
];
5
int
g
[
100
];
6
unsigned char
7
f1
(
int
a
,
int
b
)
8
{
9
__SIZE_TYPE__ ix
;
10
if
(
a
)
11
return
1
;
12
for
(
ix
=
4
;
ix
--;)
13
if
(
f
[
ix
] !=
g
[
ix
])
14
return
0
;
15
return
1
;
16
}
17
18
int
main
(
void
)
19
{
20
if
(!
f1
(
0
,
2
))
21
__builtin_abort
();
22
return
0
;
23
}
24