* gcc-interface/trans.c (return_value_ok_for_nrv_p): Only apply the
commit793a0205dd99225ba3d67cf417d0540900a5efc7
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 May 2017 08:43:25 +0000 (15 08:43 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 May 2017 08:43:25 +0000 (15 08:43 +0000)
treee1fc0da7d351dcdf375d067c1420cbd227793058
parentc1e7c57c9c922151ffa03a596ccb2567871cd0be
* gcc-interface/trans.c (return_value_ok_for_nrv_p): Only apply the
addressability check in the constrained case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248053 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c