aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/gigi.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2011-10-07 11:43:03 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2011-10-07 11:43:03 +0000
commit228ee4261311d7639cbf951f891e4f0fa34d0a5b (patch)
tree6aba893f2c45acf7d652aa16f74ecac631864587 /gcc/ada/gcc-interface/gigi.h
parentb97bf1ac69c812cccfaefe8d89168342075e7e2d (diff)
downloadgcc-228ee4261311d7639cbf951f891e4f0fa34d0a5b.zip
gcc-228ee4261311d7639cbf951f891e4f0fa34d0a5b.tar.gz
gcc-228ee4261311d7639cbf951f891e4f0fa34d0a5b.tar.bz2
re PR lto/50492 (Ada bootstrap failure --with-build-config=bootstrap-lto)
PR lto/50492 * gcc-interface/gigi.h (gnat_pushdecl): Adjust comment. * gcc-interface/utils.c (global_context): New variable. (gnat_pushdecl): Initialize it and set it as the DECL_CONTEXT of DECLs that are either public external or at top level. Use "No" macro. (end_subprog_body): Call decl_function_context. (rest_of_subprog_body_compilation): Likewise. From-SVN: r179652
Diffstat (limited to 'gcc/ada/gcc-interface/gigi.h')
-rw-r--r--gcc/ada/gcc-interface/gigi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/gcc-interface/gigi.h b/gcc/ada/gcc-interface/gigi.h
index 1687fd1..f7f9b09 100644
--- a/gcc/ada/gcc-interface/gigi.h
+++ b/gcc/ada/gcc-interface/gigi.h
@@ -450,8 +450,8 @@ extern void set_block_jmpbuf_decl (tree decl);
/* Get the setjmp_decl, if any, for the current binding level. */
extern tree get_block_jmpbuf_decl (void);
-/* Records a ..._DECL node DECL as belonging to the current lexical scope
- and uses GNAT_NODE for location information. */
+/* Record DECL as belonging to the current lexical scope and use GNAT_NODE
+ for location information and flag propagation. */
extern void gnat_pushdecl (tree decl, Node_Id gnat_node);
extern void gnat_init_gcc_eh (void);