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
[RFA] Fix csky and c6x build failures
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr112305.c
blob
ea6e044529d1e3e100f6ba50e972e997ed743804
1
/* { dg-do run } */
2
/* { dg-require-effective-target int32plus } */
3
/* { dg-skip-if "long-running loop" { simulator } { "-O0" "-O1" } } */
4
5
int
a
;
6
void
b
()
7
{
8
long
c
=
3
;
9
unsigned int
d
=
50253292
;
10
int
e
=
2147483648
;
11
for
(;
a
<
5
;
a
++)
12
do
{
13
e
+=
4
;
14
d
-=
c
;
15
}
while
(
e
<
20
);
16
if
(
d
!= -
1560359471u
)
17
__builtin_abort
();
18
}
19
int
main
() {
b
(); }