From d7b1468bf39286cfb5b7be86e87af3bea4e3b812 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Sat, 26 Mar 2005 17:35:41 +0000 Subject: [PATCH] re PR target/20636 (Bootstrap failure on Linux/PowerPC64 with rtl checking) 2005-03-26 Andrew Pinski 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 | 6 ++++++ gcc/config/rs6000/rs6000.md | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fb5ac8639e0..e914aed155a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-03-26 Andrew Pinski + + 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 * 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 b9fa39c386d..265c84f3bc3 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); -- 2.30.2