projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e98b1d
)
Make fp constants hard if -fpic
author
Michael Meissner
<meissner@gcc.gnu.org>
Tue, 9 Jul 1996 21:42:13 +0000
(21:42 +0000)
committer
Michael Meissner
<meissner@gcc.gnu.org>
Tue, 9 Jul 1996 21:42:13 +0000
(21:42 +0000)
From-SVN: r12420
gcc/config/rs6000/rs6000.c
patch
|
blob
|
history
diff --git
a/gcc/config/rs6000/rs6000.c
b/gcc/config/rs6000/rs6000.c
index ea35f4c59fec816b47085b319631d722caf72907..408661c1dbccd48d39e1700563c52cd5c94e5c61 100644
(file)
--- a/
gcc/config/rs6000/rs6000.c
+++ b/
gcc/config/rs6000/rs6000.c
@@
-666,6
+666,10
@@
easy_fp_constant (op, mode)
if (TARGET_SOFT_FLOAT && mode != DImode)
return 1;
+ /* If we are using V.4 style PIC, consider all constants to be hard */
+ if (flag_pic && (DEFAULT_ABI == ABI_V4 || DEFAULT_ABI == ABI_SOLARIS))
+ return 0;
+
if (mode == DFmode)
{
long k[2];