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
/
graphite
/
id-pr48648.c
blob
ff58ec23b4d6cc9c7c649d05fb30b6503d1c01d8
1
/* { dg-options "-O -fgraphite-identity" } */
2
3
void
*
foo
(
const void
*
a
);
4
5
void
bug48648
()
6
{
7
unsigned char
a
[
2
];
8
long
b
;
9
int
i
;
10
11
for
(
i
=
0
;
i
<
2
;
i
++) {
12
if
(
b
<=
0
)
13
a
[
i
] =
0
;
14
else if
(
b
>=
8
)
15
a
[
i
] =
0
;
16
else
17
a
[
i
] =
0
;
18
b
-=
8
;
19
}
20
foo
(&
a
);
21
}