aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/function.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8be07ea..77bbb56 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
+
+ * function.c (purge_addressof_1): Add missing return values.
+
Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
* function.c (is_addressof): New function. Returns true if
diff --git a/gcc/function.c b/gcc/function.c
index c9b4e20..aacbdff 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -2896,7 +2896,7 @@ purge_addressof_1 (loc, insn, force, store, ht)
z = gen_lowpart (GET_MODE (x), z);
*loc = z;
- return;
+ return true;
}
/* Sometimes we may not be able to find the replacement. For
@@ -3033,7 +3033,7 @@ purge_addressof_1 (loc, insn, force, store, ht)
else if (code == ADDRESSOF)
{
put_addressof_into_stack (x, ht);
- return;
+ return true;
}
else if (code == SET)
{