gigi.h (note_types_used_by_globals): Delete.
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 26 Jun 2015 10:21:54 +0000 (10:21 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 26 Jun 2015 10:21:54 +0000 (10:21 +0000)
commita22b794dcaf672c349b95652d975f7cf3c88a9ee
tree08094a396e861c3d7aa238ead9d839f7105bcd4c
parent6249559b626a40ddfe26db57791fd6a7216883be
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
gcc/ada/ChangeLog
gcc/ada/gcc-interface/gigi.h
gcc/ada/gcc-interface/misc.c
gcc/ada/gcc-interface/utils.c