re PR target/7594 ([m68k] ICE on legal code associated with simplify-rtx)
authorRichard Henderson <rth@redhat.com>
Thu, 12 Jun 2003 21:57:31 +0000 (14:57 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 12 Jun 2003 21:57:31 +0000 (14:57 -0700)
        PR target/7594
        * config/m68k/m68k.md (zero_extendhisi2): Use gen_lowpart_SUBREG.
        (zero_extendqihi2, zero_extendqisi2): Likewise.

From-SVN: r67857

gcc/ChangeLog
gcc/config/m68k/m68k.md

index 99e786b4850a8514593107f9156e96e38f9232b8..6d2df27247ba2b4fc84a4758c6a190bcb102616a 100644 (file)
@@ -1,3 +1,9 @@
+2003-06-12  Richard Henderson  <rth@redhat.com>
+
+        PR target/7594
+        * config/m68k/m68k.md (zero_extendhisi2): Use gen_lowpart_SUBREG.
+        (zero_extendqihi2, zero_extendqisi2): Likewise.
+
 2003-06-12  Aldy Hernandez  <aldyh@redhat.com>
 
        * config/rs6000/rs6000.c (function_arg): Always split vectors for
index 50039e3a1aba465cfb84ba913c29c4b9bd678d12..ffaea3b2340fc216878b57f31451514a5590a194 100644 (file)
   "
 {
   operands[1] = make_safe_from (operands[1], operands[0]);
-  operands[2] = gen_lowpart (HImode, operands[0]);
+  operands[2] = gen_lowpart_SUBREG (HImode, operands[0]);
 }")
 
 (define_expand "zero_extendqihi2"
   "
 {
   operands[1] = make_safe_from (operands[1], operands[0]);
-  operands[2] = gen_lowpart (QImode, operands[0]);
+  operands[2] = gen_lowpart_SUBREG (QImode, operands[0]);
 }")
 
 (define_expand "zero_extendqisi2"
   "
 {
   operands[1] = make_safe_from (operands[1], operands[0]);
-  operands[2] = gen_lowpart (QImode, operands[0]);
+  operands[2] = gen_lowpart_SUBREG (QImode, operands[0]);
 }")
 \f
 ;; Patterns to recognize zero-extend insns produced by the combiner.