From: Michael Meissner Date: Tue, 9 Jul 1996 21:42:13 +0000 (+0000) Subject: Make fp constants hard if -fpic X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a72734717c6437270db05b0423c99c99fcaf7798;p=gcc.git Make fp constants hard if -fpic From-SVN: r12420 --- diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index ea35f4c59fe..408661c1dbc 100644 --- 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];