aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/utils.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2009-08-02 13:14:15 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2009-08-02 13:14:15 +0000
commit2fa030864034f6cc54250eaa1ae51df568535cd8 (patch)
tree206363b66b0edfa77cb38b07adec48d2aa42b2e1 /gcc/ada/gcc-interface/utils.c
parente2ab8b0935d02525be9db7bc1a46fa41a4c256e9 (diff)
downloadgcc-2fa030864034f6cc54250eaa1ae51df568535cd8.zip
gcc-2fa030864034f6cc54250eaa1ae51df568535cd8.tar.gz
gcc-2fa030864034f6cc54250eaa1ae51df568535cd8.tar.bz2
gigi.h (end_subprog_body): Tweak comment.
* gcc-interface/gigi.h (end_subprog_body): Tweak comment. * gcc-interface/utils.c (end_subprog_body): Likewise. * gcc-interface/trans.c (gigi): Likewise. (gnat_to_gnu): Likewise. From-SVN: r150352
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
-rw-r--r--gcc/ada/gcc-interface/utils.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/ada/gcc-interface/utils.c b/gcc/ada/gcc-interface/utils.c
index 1548f6d..e61a0fa 100644
--- a/gcc/ada/gcc-interface/utils.c
+++ b/gcc/ada/gcc-interface/utils.c
@@ -2069,8 +2069,7 @@ gnat_genericize (tree fndecl)
pointer_set_destroy (p_set);
}
-/* Finish the definition of the current subprogram BODY and compile it all the
- way to assembler language output. */
+/* Finish the definition of the current subprogram BODY and finalize it. */
void
end_subprog_body (tree body)
@@ -2109,8 +2108,7 @@ end_subprog_body (tree body)
/* Dump functions before gimplification. */
dump_function (TDI_original, fndecl);
- /* We do different things for nested and non-nested functions.
- ??? This should be in cgraph. */
+ /* ??? This special handling of nested functions is probably obsolete. */
if (!DECL_CONTEXT (fndecl))
cgraph_finalize_function (fndecl, false);
else