aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/c-decl.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9472fa0..a31aed1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2000-10-28 Alan Modra <alan@linuxcare.com.au>
+
+ * c-decl.c (finish_function): Clear c_function_name_declared_p.
+
2000-10-28 Richard Henderson <rth@redhat.com>
* regrename.c (scan_rtx_address): Frob action, not class,
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 51d76c5..f86cb89 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -6733,6 +6733,7 @@ finish_function (nested)
function. For a nested function, this value is used in
pop_c_function_context and then reset via pop_function_context. */
current_function_decl = NULL;
+ c_function_name_declared_p = 0;
}
}