gigi.h (add_decl_expr): Adjust prototype.
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 7 Jul 2018 10:20:12 +0000 (10:20 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 7 Jul 2018 10:20:12 +0000 (10:20 +0000)
commit56b8aa0c875022911e96cbe3c9f87a98e4ecd76b
treecb9596a739f084236484b459cb331d9799e513e8
parent86da71db787fdb592c9f8225665d3d8b7a3934fa
gigi.h (add_decl_expr): Adjust prototype.

* gcc-interface/gigi.h (add_decl_expr): Adjust prototype.
* gcc-interface/decl.c (gnat_to_gnu_entity): Remove useless test.
* gcc-interface/trans.c (add_stmt_with_node): Remove exceptions.
(add_decl_expr): Change type of second parameter and rename it.
(renaming_from_instantiation_p): New function moved from...
(set_expr_location_from_node): Test for exceptions here and add one
for actual subtypes built for unconstrained composite actuals.
* gcc-interface/utils.c (renaming_from_instantiation_p): ...here.

From-SVN: r262497
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/gigi.h
gcc/ada/gcc-interface/trans.c
gcc/ada/gcc-interface/utils.c