aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/m68k/m68k.md2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f85952d..3513cc2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-18 Philippe De Muyter <phdm@macqel.be>
+
+ * config/m68k/m68k.md (*addsi3_5200): Allow addq/subq to memory
+ operands.
+
2006-01-18 Kazu Hirata <kazu@codesourcery.com>
* rtlanal.c (global_reg_mentioned_p_1,
diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md
index 8a6a555..11c5ab0 100644
--- a/gcc/config/m68k/m68k.md
+++ b/gcc/config/m68k/m68k.md
@@ -1865,7 +1865,7 @@
(define_insn "*addsi3_5200"
[(set (match_operand:SI 0 "nonimmediate_operand" "=m,?a,?a,r")
(plus:SI (match_operand:SI 1 "general_operand" "%0,a,rJK,0")
- (match_operand:SI 2 "general_src_operand" "d,rJK,a,mrIKLi")))]
+ (match_operand:SI 2 "general_src_operand" "dIL,rJK,a,mrIKLi")))]
"TARGET_COLDFIRE"
"* return output_addsi3 (operands);")