aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-01-07 10:05:46 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2005-01-07 10:05:46 +0100
commitebc0c8bbfccfc08835e7268ba4e9f5a1cecc3844 (patch)
treefe8f43779b684aab7f5a6ed0d8c581414dd4f191 /gcc
parent0210ae141eaa9f04636dfb10c1f0922c46a1013d (diff)
downloadgcc-ebc0c8bbfccfc08835e7268ba4e9f5a1cecc3844.zip
gcc-ebc0c8bbfccfc08835e7268ba4e9f5a1cecc3844.tar.gz
gcc-ebc0c8bbfccfc08835e7268ba4e9f5a1cecc3844.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/i386/i386.md4
2 files changed, 7 insertions, 0 deletions
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 <jakub@redhat.com>
+ 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"