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
/
pr106112.c
blob
bd7f63c09358b8d416a516e4bfd3920b5f659309
1
/* { dg-do run } */
2
3
__INT32_TYPE__ a
=
5
,
b
,
c
,
d
;
4
__UINT64_TYPE__ e
=
20862985922
;
5
int
main
()
6
{
7
__UINT32_TYPE__ f
=
4294967292
;
8
e
=
e
|
f
;
9
c
= -
1
% ((~
f
^
4294967292
) - (
e
-
d
));
10
b
= ~-~
e
% ~-
d
;
11
if
(
b
)
12
a
=
0
;
13
if
(
a
<
1
)
14
__builtin_abort
();
15
return
0
;
16
}