aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/misc.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2015-06-26 10:21:54 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2015-06-26 10:21:54 +0000
commita22b794dcaf672c349b95652d975f7cf3c88a9ee (patch)
tree08094a396e861c3d7aa238ead9d839f7105bcd4c /gcc/ada/gcc-interface/misc.c
parent6249559b626a40ddfe26db57791fd6a7216883be (diff)
downloadgcc-a22b794dcaf672c349b95652d975f7cf3c88a9ee.zip
gcc-a22b794dcaf672c349b95652d975f7cf3c88a9ee.tar.gz
gcc-a22b794dcaf672c349b95652d975f7cf3c88a9ee.tar.bz2
gigi.h (note_types_used_by_globals): Delete.
* gcc-interface/gigi.h (note_types_used_by_globals): Delete. (gnat_write_global_declarations): New prototype. * gcc-interface/utils.c (type_decls): Rename back to... (global_decls): ...this. (gnat_pushdecls): Revert previous change. (create_var_decl): Do not output global variables. (note_types_used_by_globals): Rename back to... (gnat_write_global_declarations): ...this. Output variables on the global_decls vector. * gcc-interface/misc.c (gnat_parse_file): Adjust to above renaming. From-SVN: r225003
Diffstat (limited to 'gcc/ada/gcc-interface/misc.c')
-rw-r--r--gcc/ada/gcc-interface/misc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ada/gcc-interface/misc.c b/gcc/ada/gcc-interface/misc.c
index bb11ce4..2f397ba 100644
--- a/gcc/ada/gcc-interface/misc.c
+++ b/gcc/ada/gcc-interface/misc.c
@@ -113,7 +113,8 @@ gnat_parse_file (void)
/* Call the front end. */
_ada_gnat1drv ();
- note_types_used_by_globals ();
+ /* Write the global declarations. */
+ gnat_write_global_declarations ();
}
/* Return language mask for option processing. */