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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
powerpc
/
ppc64-double-1.c
blob
6672b10e9ccdc36a9997a3d86bee8963f8e128cc
1
// { dg-do compile }
2
// { dg-options "-O2 -mpowerpc64" }
3
// { dg-final { scan-assembler-not "stfd" } }
4
5
// The register allocator should have allocated the temporary long long value in a floating point register.
6
7
double
8
d2ll2d
(
double
d
)
9
{
10
return
(
double
)(
long long
)
d
;
11
}