From ebc0c8bbfccfc08835e7268ba4e9f5a1cecc3844 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 7 Jan 2005 10:05:46 +0100 Subject: re PR target/19012 (ICE on testsuite/gcc.c-torture/execute/930208-1.c with -fpack-struct -Os) PR rtl-optimization/19012 * config/i386/i386.md (addqi_1_slp): Set memory attribute. From-SVN: r93042 --- gcc/ChangeLog | 3 +++ gcc/config/i386/i386.md | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 244d034..6d610b4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2005-01-07 Jakub Jelinek + PR rtl-optimization/19012 + * config/i386/i386.md (addqi_1_slp): Set memory attribute. + PR rtl-optimization/18861 * cfgbuild.c (BLOCK_USED_BY_TABLEJUMP): Define. (FULL_STATE): Define. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 7848579..164982c 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -6297,6 +6297,10 @@ (if_then_else (match_operand:QI 1 "incdec_operand" "") (const_string "incdec") (const_string "alu1"))) + (set (attr "memory") + (if_then_else (match_operand 1 "memory_operand" "") + (const_string "load") + (const_string "none"))) (set_attr "mode" "QI")]) (define_insn "*addqi_2" -- cgit v1.1