This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

h8300 bug fix for nested functions


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;
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]