[Bug ada/29025] [4.1/4.2 regression] procedure doesn't modify In Out parameter

2006-09-13 Thread ebotcazou at gcc dot gnu dot org


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

Summary|[4.0/4.1/4.2 regression]|[4.1/4.2 regression]
   |procedure doesn't modify In |procedure doesn't modify In
   |Out parameter   |Out parameter
   Target Milestone|4.0.4   |4.1.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29025



[Bug ada/29025] [4.1/4.2 regression] procedure doesn't modify In Out parameter

2006-09-13 Thread mbo dot massimo at tiscali dot it


--- Comment #4 from mbo dot massimo at tiscali dot it  2006-09-13 18:03 
---
I have installed the fix and the problem is now resolved.
I have tested it on a large program and it is OK.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29025



[Bug ada/29025] [4.1/4.2 regression] procedure doesn't modify In Out parameter

2006-09-13 Thread ebotcazou at gcc dot gnu dot org


--- Comment #5 from ebotcazou at gcc dot gnu dot org  2006-09-13 18:09 
---
 I have installed the fix and the problem is now resolved.
 I have tested it on a large program and it is OK.

Great, thanks for the feedback.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29025



[Bug ada/29025] [4.1/4.2 regression] procedure doesn't modify In Out parameter

2006-09-13 Thread ebotcazou at gcc dot gnu dot org


--- Comment #6 from ebotcazou at gcc dot gnu dot org  2006-09-13 18:48 
---
Subject: Bug 29025

Author: ebotcazou
Date: Wed Sep 13 18:48:21 2006
New Revision: 116929

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116929
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:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/trans.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29025



[Bug ada/29025] [4.1/4.2 regression] procedure doesn't modify In Out parameter

2006-09-13 Thread ebotcazou at gcc dot gnu dot org


--- 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=gccview=revrev=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



[Bug ada/29025] [4.1/4.2 regression] procedure doesn't modify In Out parameter

2006-09-13 Thread ebotcazou at gcc dot gnu dot org


--- Comment #8 from ebotcazou at gcc dot gnu dot org  2006-09-13 18:50 
---
Fixed in upcoming 4.1.2 release.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

URL||http://gcc.gnu.org/ml/gcc-
   ||patches/2006-
   ||09/msg00515.html
 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29025