]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
avr.md ("*movsf","*movsi"): Pass NULL to output_movsisf instead of which_alternative.
authorDenis Chertykov <denisc@overta.ru>
Tue, 29 Aug 2000 20:23:07 +0000 (20:23 +0000)
committerDenis Chertykov <denisc@gcc.gnu.org>
Tue, 29 Aug 2000 20:23:07 +0000 (00:23 +0400)
* config/avr/avr.md ("*movsf","*movsi"): Pass NULL to
output_movsisf instead of which_alternative.

* config/avr/avr.c (output_reload_inhi): Check for NULL ponter.

From-SVN: r36048

gcc/ChangeLog
gcc/config/avr/avr.c
gcc/config/avr/avr.md

index 855819e12f99ad9b03560187569a5b4eb38efde0..ee5b233ab437ff6d3f7423c05db7600314402c47 100644 (file)
@@ -1,3 +1,10 @@
+Wed Aug 30 00:11:42 2000  Denis Chertykov  <denisc@overta.ru>
+
+       * config/avr/avr.md ("*movsf","*movsi"): Pass NULL to
+       output_movsisf instead of which_alternative.
+
+       * config/avr/avr.c (output_reload_inhi): Check for NULL ponter.
+
 Tue Aug 29 22:29:58 2000  Denis Chertykov  <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
 
        * config/avr/avr-protos.h: (avr_output_ascii) Removed.
index 74bb701429b14d0093a24592f819a5adffe795d3..41d1c01015930961234cba9800bdeffff586effc 100644 (file)
@@ -4545,6 +4545,10 @@ output_reload_inhi (insn, operands, len)
      rtx *operands;
      int *len;
 {
+  int tmp;
+  if (!len)
+    len = &tmp;
+      
   if (GET_CODE (operands[1]) == CONST_INT)
     {
       int val = INTVAL (operands[1]);
index ace4997fd30d58d64bbdb834ba8512bb282ff13f..c3124366b7984da27c76830d03aca65209684408 100644 (file)
         (match_operand:SI 1 "general_operand"       "r,L,Qm,rL,i,i"))]
   "(register_operand (operands[0],SImode)
     || register_operand (operands[1],SImode) || const0_rtx == operands[1])"
-  "* return output_movsisf (insn, operands, which_alternative);"
+  "* return output_movsisf (insn, operands, NULL);"
   [(set_attr "length" "4,4,8,8,4,10")
    (set_attr "cc" "none,set_zn,clobber,clobber,clobber,clobber")])
 
         (match_operand:SF 1 "general_operand"       "r,G,Qm,r,F,F"))]
   "register_operand (operands[0], SFmode)
    || register_operand (operands[1], SFmode)"
-  "* return output_movsisf (insn, operands, which_alternative);"
+  "* return output_movsisf (insn, operands, NULL);"
   [(set_attr "length" "4,4,8,8,4,10")
    (set_attr "cc" "none,set_zn,clobber,clobber,clobber,clobber")])