aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/h8300/h8300.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 94360f4..2b15336 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index 756f8a1..8cea2cf 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -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