re PR target/26350 (ICE in extract_insn, at recog.c:2084, -fPIC -mlong-double-128)
authorDavid Edelsohn <edelsohn@gnu.org>
Sat, 18 Feb 2006 23:19:02 +0000 (23:19 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Sat, 18 Feb 2006 23:19:02 +0000 (18:19 -0500)
        PR target/26350
        * config/rs6000/rs6000.md (extenddftf2): Force 0.0 to validized
        MEM for ABI_V4 pic.

From-SVN: r111255

gcc/ChangeLog
gcc/config/rs6000/rs6000.md

index 4305859024ea8602a19f62b99030076d0f9eb817..ce30e37a46c2fef59b53489268672f1b83f731a8 100644 (file)
@@ -1,3 +1,9 @@
+2005-02-18  David Edelsohn  <edelsohn@gnu.org>
+
+       PR target/26350
+       * config/rs6000/rs6000.md (extenddftf2): Force 0.0 to validized
+       MEM for ABI_V4 pic.
+
 2005-02-18  Richard Sandiford  <richard@codesourcery.com>
 
        * cselib.c (cselib_init): Change RTX_SIZE to RTX_CODE_SIZE.
index 2dabd8996fcaacf5778c7d7ee8f754abe6b0bb5b..d214e212e643ea81ae3e098b03a78237cc2bf7b6 100644 (file)
    && TARGET_HARD_FLOAT && TARGET_FPRS && TARGET_LONG_DOUBLE_128"
 {
   operands[2] = CONST0_RTX (DFmode);
+  /* Generate GOT reference early for SVR4 PIC.  */
+  if (DEFAULT_ABI == ABI_V4 && flag_pic)
+    operands[2] = validize_mem (force_const_mem (DFmode, operands[2]));
 })
 
 (define_insn_and_split "*extenddftf2_internal"