summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1998-04-02 18:12:00 +0000
committerJim Wilson <wilson@gcc.gnu.org>1998-04-02 10:12:00 -0800
commit52c18286ff5f35266ef45c01983397cad00d01e7 (patch)
tree9e2ffb4fb38f0a4bf13e3652d3be775db2a5fd04 /gcc
parent0b41abe6683830ae22978f43f085a59094f5b062 (diff)
downloadgcc-52c18286ff5f35266ef45c01983397cad00d01e7.tar.gz
Fix x86 core dump on regex.c
Fix x86 core dump on regex.c * i386.md (movqi+1): Change alternative 1 from *r/r to *r/*rn. From-SVN: r18966
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/i386.md2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ff51be00bf4..5908e294e30 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Thu Apr 2 18:00:52 1998 Jim Wilson <wilson@cygnus.com>
+
+ * i386.md (movqi+1): Change alternative 1 from *r/r to *r/*rn.
+
1998-04-02 Vladimir N. Makarov <vmakarov@cygnus.com>
* ginclude/va-i960.h (va_end): Change void * to void.
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index ae084aee83f..9de8a93e1fb 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -1095,7 +1095,7 @@
(define_insn ""
[(set (match_operand:QI 0 "nonimmediate_operand" "=q,*r,qm")
- (match_operand:QI 1 "general_operand" "*g,r,qn"))]
+ (match_operand:QI 1 "general_operand" "*g,*rn,qn"))]
"(!TARGET_MOVE || GET_CODE (operands[0]) != MEM) || (GET_CODE (operands[1]) != MEM)"
"*
{