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
Use conditional internal functions in if-conversion
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
powerpc
/
pr17381.c
blob
e6222c130af1f4ea1bc55ebe05e34ab6a274edb1
1
/* PR target/17381 - Unnecessary register move for float extend */
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
5
double
d
;
6
float
test1
(
float
fParm
)
7
{
8
d
=
fParm
+
1.0
;
9
return
fParm
+
1.0
f
;
10
}
11
/* { dg-final { scan-assembler-times "fmr" 1 } } */