re PR target/20636 (Bootstrap failure on Linux/PowerPC64 with rtl checking)
authorAndrew Pinski <pinskia@physics.uc.edu>
Sat, 26 Mar 2005 17:35:41 +0000 (17:35 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sat, 26 Mar 2005 17:35:41 +0000 (09:35 -0800)
2005-03-26  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/20636
        * config/rs6000/rs6000.md (extendsfdf2_fpr): Check to make
        sure that we have a REG before getting its REGNO.

From-SVN: r97081

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

index fb5ac8639e0d8a0f9668121c1368b6ca9e9d0ac3..e914aed155a4c3ffce5b8a77069761616179f2db 100644 (file)
@@ -1,3 +1,9 @@
+2005-03-26  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR target/20636
+       * config/rs6000/rs6000.md (extendsfdf2_fpr): Check to make
+       sure that we have a REG before getting its REGNO.
+
 2005-03-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * builtin-types.def (BT_FN_STRING_CONST_STRING_SIZE): New.
index b9fa39c386df77750ab9bb0c654a0d85569ee2d4..265c84f3bc3c8f31e4358d0d570d95d47fa3688e 100644 (file)
    #
    fmr %0,%1
    lfs%U1%X1 %0,%1"
-  "&& reload_completed && REGNO (operands[0]) == REGNO (operands[1])"
+  "&& reload_completed && REG_P (operands[1]) && REGNO (operands[0]) == REGNO (operands[1])"
   [(const_int 0)]
 {
   emit_note (NOTE_INSN_DELETED);