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
tree-optimization/111233 - loop splitting miscompile
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr111233.c
blob
30934033ae0d069a21e2b83877d9801119378d57
1
/* { dg-do run } */
2
/* { dg-additional-options "-fsplit-loops" } */
3
4
int
a
,
c
,
f
;
5
char
b
,
g
;
6
int
*
d
= &
c
;
7
long
e
;
8
int
main
()
9
{
10
for
(;
e
!=
25
;
e
++) {
11
f
= -
17
;
12
for
(;
f
<=
0
;
f
=
f
+
7
) {
13
g
=
f
?
0
:
b
;
14
a
= *
d
;
15
}
16
}
17
if
(
a
!=
0
)
18
__builtin_abort
();
19
}