* gcc-interface/gigi.h (add_decl_expr): Adjust prototype.
commit9269b9d3e6e91229044fc18630430170da6e03d1
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 Jul 2018 10:20:12 +0000 (7 10:20 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 Jul 2018 10:20:12 +0000 (7 10:20 +0000)
treecb9596a739f084236484b459cb331d9799e513e8
parent89bf88bfbf4fdabcd687009119e307d3de85bee1
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262497 138bc75d-0d04-0410-961f-82ee72b054a4
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