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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr55152-2.c
blob
54db0f2062da105a829d6690ac8ed9891fe2b588
1
/* { dg-do compile } */
2
/* { dg-options "-O -ffinite-math-only -fno-signed-zeros -fstrict-overflow -fdump-tree-optimized" } */
3
4
double
g
(
double
a
)
5
{
6
return
(
a
<-
a
)?
a
:-
a
;
7
}
8
int
f
(
int
a
)
9
{
10
return
(
a
<-
a
)?
a
:-
a
;
11
}
12
13
/* { dg-final { scan-tree-dump-times "ABS_EXPR" 2 "optimized" } } */