From 63a57e0fb08160ed8b1021a49316b978faeea7d3 Mon Sep 17 00:00:00 2001 From: "J\"orn Rennecke" Date: Thu, 30 Aug 2001 15:13:27 +0000 Subject: * h8300.c (dosize): Fix test for "sub". From-SVN: r45288 --- gcc/ChangeLog | 4 ++++ gcc/config/h8300/h8300.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * h8300.c (dosize): Fix test for "sub". + Thu Aug 30 10:21:43 2001 J"orn Rennecke * 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; -- cgit v1.1