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
/
pr32461-1.c
1
/* { dg-do compile } */
2
/* { dg-options "-O3" } */
3
4
typedef
struct
5
{
6
unsigned
exp
[
256
];
7
}
8
expbap_t
;
9
10
void
11
a52_bit_allocate
(
expbap_t
*
expbap
)
12
{
13
int
i
;
14
unsigned
*
exp
=
expbap
->
exp
;
15
char
*
bap
;
16
17
while
(
i
<
3
||
exp
[
i
] >
exp
[
i
-
1
]);
18
19
do
{
20
if
(
exp
[
i
+
1
] ==
exp
[
i
])
21
bap
[
i
] =
0
;
22
i
++;
23
}
while
(
i
<
20
);
24
}