]> gcc.gnu.org Git - gcc.git/commit - gcc/ada/gcc-interface/utils2.cc
trans.c (call_to_gnu): Open a nesting level if this is a statement.
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 15 Apr 2010 12:40:15 +0000 (12:40 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 15 Apr 2010 12:40:15 +0000 (12:40 +0000)
commit0b3467c4a3424bc3b960336dd87160db7a481f99
tree79c65e316aef5e9cf69d332b87560705466eeb62
parenta09d56d8c7cf30531965eb461d0e58adcb7d72d9
trans.c (call_to_gnu): Open a nesting level if this is a statement.

* gcc-interface/trans.c (call_to_gnu): Open a nesting level if this is
a statement.  Otherwise, if at top-level, push the processing of the
elaboration routine.  In the misaligned case, issue the error messages
again on entry and create the temporary explicitly.  Do not issue them
for CONSTRUCTORs.
For a function call, emit the range check if necessary.
In the copy-in copy-out case, create the temporary for the return
value explicitly.
Do not unnecessarily convert by-ref parameters to the formal's type.
Remove obsolete guards in conditions.
(gnat_to_gnu) <N_Assignment_Statement>: For a function call, pass the
target to call_to_gnu in all cases.
(gnat_gimplify_expr) <ADDR_EXPR>: Remove handling of SAVE_EXPR.
(addressable_p) <CONSTRUCTOR>: Return false if not static.
<COMPOUND_EXPR>: New case.
* gcc-interface/utils2.c (build_unary_op) <ADDR_EXPR>: Fold a compound
expression if it has unconstrained array type.
(gnat_mark_addressable) <COMPOUND_EXPR>: New case.
(gnat_stabilize_reference) <COMPOUND_EXPR>: Stabilize operands on an
individual basis.

From-SVN: r158371
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/ada/gcc-interface/utils2.c
This page took 0.0595290000000001 seconds and 5 git commands to generate.