utils2.c (build_call_alloc_dealloc): Do not substitute placeholder expressions here...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 6 Jun 2016 09:44:11 +0000 (09:44 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 6 Jun 2016 09:44:11 +0000 (09:44 +0000)
commit62801a777ae288d0b01792ec8f85cded7b6d9df3
treed8b7d032b53a272332300754ebabd26c255b7dfb
parentf1ff07ec096c3b59ef3d883e00dd4a840314eaf8
utils2.c (build_call_alloc_dealloc): Do not substitute placeholder expressions here but...

* gcc-interface/utils2.c (build_call_alloc_dealloc): Do not substitute
placeholder expressions here but...
* gcc-interface/trans.c (gnat_to_gnu) <N_Free_Statement>: ...here.
Make an exception to the protection of a CALL_EXPR result with an
unconstrained type only in the same cases as Call_to_gnu.

From-SVN: r237125
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/ada/gcc-interface/utils2.c