[Bug ada/29025] [4.1/4.2 regression] procedure doesn't modify In Out parameter
ebotcazou at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 13 18:49:00 GMT 2006
------- Comment #7 from ebotcazou at gcc dot gnu dot org 2006-09-13 18:48 -------
Subject: Bug 29025
Author: ebotcazou
Date: Wed Sep 13 18:48:46 2006
New Revision: 116930
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116930
Log:
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.
Modified:
branches/gcc-4_1-branch/gcc/ada/ChangeLog
branches/gcc-4_1-branch/gcc/ada/trans.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29025
More information about the Gcc-bugs
mailing list