aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/rs6000.md2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fb5ac86..e914aed 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index b9fa39c..265c84f 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -4423,7 +4423,7 @@
#
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);