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
/
pr111838.c
blob
67007d9742d581a130e18536735e449a289f9695
1
/* { dg-do run } */
2
/* { dg-additional-options "-fsplit-loops" } */
3
4
int
a
,
b
,
c
;
5
volatile
char
d
;
6
int
main
()
7
{
8
for
(;
b
<
1
;
b
++)
9
for
(
char
e
= -
17
;
e
<
1
;
e
+=
5
)
10
{
11
if
(
e
?
a
%
e
:
0
)
12
d
;
13
for
(
c
=
0
;
c
<
1
;
c
++)
14
;
15
}
16
return
0
;
17
}