From: Jakub Jelinek Date: Fri, 7 Jan 2005 09:05:46 +0000 (+0100) Subject: re PR target/19012 (ICE on testsuite/gcc.c-torture/execute/930208-1.c with -fpack... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ebc0c8bbfccfc08835e7268ba4e9f5a1cecc3844;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 244d03414da..6d610b49226 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 7848579153e..164982c8431 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"