aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/gigi.h
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/gigi.h
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/gigi.h')
-rw-r--r--gcc/ada/gcc-interface/gigi.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/ada/gcc-interface/gigi.h b/gcc/ada/gcc-interface/gigi.h
index 4f95d3f..67977b0 100644
--- a/gcc/ada/gcc-interface/gigi.h
+++ b/gcc/ada/gcc-interface/gigi.h
@@ -531,9 +531,8 @@ extern tree gnat_type_for_size (unsigned precision, int unsignedp);
an unsigned type; otherwise a signed type is returned. */
extern tree gnat_type_for_mode (machine_mode mode, int unsignedp);
-/* Keep track of types used at the global level and emit debug info
- for all global types. */
-extern void note_types_used_by_globals (void);
+/* Perform final processing on global declarations. */
+extern void gnat_write_global_declarations (void);
/* Return the unsigned version of a TYPE_NODE, a scalar type. */
extern tree gnat_unsigned_type (tree type_node);