From f527d1964956de243f75a65dfd5215f01ed8e01a Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Mon, 28 Jul 2003 20:13:57 +0200 Subject: [PATCH] * i386.md (memory attribute) Avoid accessing uninitialized memory for ishift1 type instructions. From-SVN: r69895 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.md | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1bdd3fc1e94..372f834b9f5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Jul 28 20:13:06 CEST 2003 Jan Hubicka + + * i386.md (memory attribute) Avoid accessing uninitialized memory + for ishift1 type instructions. + 2003-07-28 Jakub Jelinek * configure.in (--enable-checking): Add fold category. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 0977d3a2e1e..9b6abef6034 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -351,7 +351,7 @@ (if_then_else (match_operand 1 "constant_call_address_operand" "") (const_string "none") (const_string "load")) - (and (eq_attr "type" "alu1,negnot") + (and (eq_attr "type" "alu1,negnot,ishift1") (match_operand 1 "memory_operand" "")) (const_string "both") (and (match_operand 0 "memory_operand" "") @@ -362,7 +362,7 @@ (match_operand 1 "memory_operand" "") (const_string "load") (and (eq_attr "type" - "!alu1,negnot, + "!alu1,negnot,ishift1, imov,imovx,icmp,test, fmov,fcmp,fsgn, sse,ssemov,ssecmp,ssecomi,ssecvt,sseicvt,