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
/
ifcvt-fabs-1.c
blob
bdf6b3975a29fa78df6ad1f3bab8c9f46c8a6187
1
/* { dg-do run } */
2
/* { dg-options "-O" } */
3
/* { dg-options "-O -march=i686" { target { { i686-*-* x86_64-*-* } && ilp32 } } } */
4
5
extern
void
abort
(
void
);
6
7
float
foo
(
float
f
)
8
{
9
if
(
f
<
0.0
f
)
10
f
= -
f
;
11
12
return
f
;
13
}
14
15
int
main
(
void
)
16
{
17
if
(
foo
(-
1.0
f
) !=
1.0
f
)
18
abort
();
19
20
return
0
;
21
}