PR ada/29025
commitf55abd0a03cae0b0082f47a61a4a8b57097347ed
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Sep 2006 18:48:21 +0000 (13 18:48 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Sep 2006 18:48:21 +0000 (13 18:48 +0000)
tree07363f60721190c943580bee201d42d01e2ec4d8
parent9f31d8d2f80d7eef096e41e26cdeaf710166fbf9
PR ada/29025
* trans.c (gnat_gimplify_expr) <ADDR_EXPR>: When taking the address
of a SAVE_EXPR, just make the operand addressable/not-readonly and
let the common gimplifier code make and propagate a temporary copy.
(call_to_gnu): Clarify the use of SAVE_EXPR for not addressable
out/in-out actuals and defer setting the addressable/readonly bits
to the gimplifier.

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