This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
h8300 bug fix for nested functions
- To: gcc-patches at gcc dot gnu dot org
- Subject: h8300 bug fix for nested functions
- From: Joern Rennecke <amylaar at redhat dot com>
- Date: Thu, 30 Aug 2001 16:02:11 +0100 (BST)
- Cc: law at redhat dot com, jason at cygnus dot com, amylaar at cambridge dot redhat dot com
Thu Aug 30 16:00:31 2001 J"orn Rennecke <amylaar@redhat.com>
* h8300.c (dosize): Fix test for "sub".
Index: h8300.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/config/h8300/h8300.c,v
retrieving revision 1.95
diff -p -u -r1.95 h8300.c
--- h8300.c 2001/08/06 15:09:04 1.95
+++ h8300.c 2001/08/30 15:00:26
@@ -186,7 +186,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;