summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-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 4543e228274..3f1c2c6dfd8 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 3c95e57255a..618da6de820 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;