Commit 1f0e2688 by Eric Botcazou Committed by Eric Botcazou

utils.c (gnat_write_global_declarations): Use type_decl method instead of…

utils.c (gnat_write_global_declarations): Use type_decl method instead of global_decl for TYPE_DECLs.

	* gcc-interface/utils.c (gnat_write_global_declarations): Use type_decl
	method instead of global_decl for TYPE_DECLs.

From-SVN: r222967
parent 1be0899d
2015-05-09 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/utils.c (gnat_write_global_declarations): Use type_decl
method instead of global_decl for TYPE_DECLs.
2015-04-27 Jim Wilson <jim.wilson@linaro.org>
* gcc-interface/Makefile-lan.in (ada.mostlyclean): Remove gnatbind
......
......@@ -5211,7 +5211,7 @@ gnat_write_global_declarations (void)
finalized in the right context. */
FOR_EACH_VEC_SAFE_ELT (global_decls, i, iter)
if (TREE_CODE (iter) == TYPE_DECL && !DECL_IGNORED_P (iter))
debug_hooks->global_decl (iter);
debug_hooks->type_decl (iter, false);
/* Proceed to optimize and emit assembly. */
symtab->finalize_compilation_unit ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment