projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
re PR tree-optimization/33291 (a+=2; a+=2 not simplified to a+=4; with -O3 ...
[gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr23386.c
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