From 7ed9919dff52443091071203bf93685cf78002a3 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Tue, 5 Sep 2017 09:02:07 +0000 Subject: gigi.h (renaming_from_generic_instantiation_p): Turn to * gcc-interface/gigi.h (renaming_from_generic_instantiation_p): Turn to (renaming_from_instantiation_p): ...this. * gcc-interface/decl.c (gnat_to_gnu_entity): Use inline predicate instead of explicit tests on kind of entities. Adjust for renaming. (gnat_to_gnu_profile_type): Likewise. (gnat_to_gnu_subprog_type): Likewise. * gcc-interface/trans.c (Identifier_to_gnu): Likewise. (Case_Statement_to_gnu): Likewise. (gnat_to_gnu): Likewise. (process_freeze_entity): Likewise. (process_type): Likewise. (add_stmt_with_node): Adjust for renaming. * gcc-interface/utils.c (gnat_pushdecl): Adjust for renaming. (renaming_from_generic_instantiation_p): Rename to... (renaming_from_instantiation_p): ...this. Use inline predicate. (pad_type_hasher::keep_cache_entry): Fold. From-SVN: r251700 --- gcc/ada/gcc-interface/gigi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/ada/gcc-interface/gigi.h') diff --git a/gcc/ada/gcc-interface/gigi.h b/gcc/ada/gcc-interface/gigi.h index 0e25b61..a5084c6 100644 --- a/gcc/ada/gcc-interface/gigi.h +++ b/gcc/ada/gcc-interface/gigi.h @@ -998,7 +998,7 @@ extern int fp_size_to_prec (int size); from the parameter association for the instantiation of a generic. We do not want to emit source location for them: the code generated for their initialization is likely to disturb debugging. */ -extern bool renaming_from_generic_instantiation_p (Node_Id gnat_node); +extern bool renaming_from_instantiation_p (Node_Id gnat_node); /* Try to process all nodes in the deferred context queue. Keep in the queue the ones that cannot be processed yet, remove the other ones. If FORCE is -- cgit v1.1