* c-decl.c (finish_function): Clear c_function_name_declared_p.
authorAlan Modra <alan@linuxcare.com.au>
Sun, 29 Oct 2000 05:59:58 +0000 (05:59 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 29 Oct 2000 05:59:58 +0000 (22:59 -0700)
From-SVN: r37118

gcc/ChangeLog
gcc/c-decl.c

index 9472fa0df4c067c547c93ff09840ef0dce641b3c..a31aed144fd5f42f3a83c90c0ea50cbb40ab3361 100644 (file)
@@ -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,
index 51d76c5314225877d48549e545cfd0df721fd986..f86cb89676af606c19a74ac417eca38392737179 100644 (file)
@@ -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;
     }
 }