OSDN Git Service

* config/h8300/h8300.c (h8300_emit_stack_adjustment): Fix a
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Feb 2004 01:18:29 +0000 (01:18 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Feb 2004 01:18:29 +0000 (01:18 +0000)
warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78008 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/h8300/h8300.c

index 94360f4..2b15336 100644 (file)
@@ -1,5 +1,10 @@
 2004-02-17  Kazu Hirata  <kazu@cs.umass.edu>
 
+       * config/h8300/h8300.c (h8300_emit_stack_adjustment): Fix a
+       warning.
+
+2004-02-17  Kazu Hirata  <kazu@cs.umass.edu>
+
        * config/h8300/h8300.md (*one_complsi2_h8300): Change to
        *one_cmplsi2_h8300.
        (*one_complsi2_h8300hs): Change to *one_cmplsi2_h8300hs.
index 756f8a1..8cea2cf 100644 (file)
@@ -372,7 +372,7 @@ h8300_emit_stack_adjustment (int sign, unsigned int size)
 {
   /* If the frame size is 0, we don't have anything to do.  */
   if (size == 0)
-    return 0;
+    return;
 
   /* H8/300 cannot add/subtract a large constant with a single
      instruction.  If a temporary register is available, load the