trans.c (return_value_ok_for_nrv_p): Only apply the addressability check in the const...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 15 May 2017 08:43:25 +0000 (08:43 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 15 May 2017 08:43:25 +0000 (08:43 +0000)
commit13b6b77304b3b3e0ff36c1854d02ef21a0ad16c9
treee1fc0da7d351dcdf375d067c1420cbd227793058
parent3946f0003c6707fbd4a19533d4e12713f229f349
trans.c (return_value_ok_for_nrv_p): Only apply the addressability check in the constrained case.

* gcc-interface/trans.c (return_value_ok_for_nrv_p): Only apply the
addressability check in the constrained case.

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