aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ"orn Rennecke <amylaar@redhat.com>2001-08-30 15:13:27 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2001-08-30 16:13:27 +0100
commit63a57e0fb08160ed8b1021a49316b978faeea7d3 (patch)
tree5bb6db0bbb65473160a9a140a93aa3b65879bcae
parent598e9ba5bd920939ca3ff1ef2f57299bea665d6e (diff)
downloadgcc-63a57e0fb08160ed8b1021a49316b978faeea7d3.zip
gcc-63a57e0fb08160ed8b1021a49316b978faeea7d3.tar.gz
gcc-63a57e0fb08160ed8b1021a49316b978faeea7d3.tar.bz2
* h8300.c (dosize): Fix test for "sub".
From-SVN: r45288
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/h8300/h8300.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4543e22..3f1c2c6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Thu Aug 30 16:00:31 2001 J"orn Rennecke <amylaar@redhat.com>
+
+ * h8300.c (dosize): Fix test for "sub".
+
Thu Aug 30 10:21:43 2001 J"orn Rennecke <amylaar@redhat.com>
* c-typeck.c (pointer_diff): Try to eliminate common term before
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index 3c95e57..618da6d 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -185,7 +185,7 @@ dosize (file, op, size)
if ((TARGET_H8300 && size <= 4)
|| ((TARGET_H8300H || TARGET_H8300S) && size <= 8)
|| (TARGET_H8300 && current_function_needs_context
- && strcmp (op, "sub")))
+ && ! strcmp (op, "sub")))
{
unsigned HOST_WIDE_INT amount;