repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr21332.c
blob
8dd75ccc574fc39e53586e5954da96d8d393d6b7
1
/* { dg-do run } */
2
/* { dg-options "-O2" } */
3
4
// this testcase fails also on amd64:
5
6
extern
void
abort
(
void
);
7
8
int
f
()
9
{
10
return
-
1
;
11
}
12
13
int
main
()
14
{
15
int
b
,
c
,
i
;
16
17
b
=
0
;
18
c
=
f
();
19
if
(
c
<=
0
)
20
{
21
c
= -
c
;
22
for
(
i
=
0
;
i
<
c
;
i
++)
23
b
=
1
;
24
if
(!
b
)
25
abort
();
26
}
27
return
0
;
28
}