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
/
scev-1.c
1
/* PR tree-optimization/19899 */
2
/* Decrementing a floating-point variable in a loop caused an ICE. */
3
4
/* { dg-do run } */
5
/* { dg-options "-O -ftree-vectorize" } */
6
7
extern
void
abort
(
void
);
8
9
int
main
()
10
{
11
float
i
=
1
;
12
13
while
(
i
>=
0
)
14
--
i
;
15
16
if
(
i
!= -
1
)
17
abort
();
18
return
0
;
19
}