diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2010-04-15 12:40:15 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2010-04-15 12:40:15 +0000 |
commit | 0b3467c4a3424bc3b960336dd87160db7a481f99 (patch) | |
tree | 79c65e316aef5e9cf69d332b87560705466eeb62 /gcc/tree-ssa-structalias.c | |
parent | a09d56d8c7cf30531965eb461d0e58adcb7d72d9 (diff) | |
download | gcc-0b3467c4a3424bc3b960336dd87160db7a481f99.zip gcc-0b3467c4a3424bc3b960336dd87160db7a481f99.tar.gz gcc-0b3467c4a3424bc3b960336dd87160db7a481f99.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
0 files changed, 0 insertions, 0 deletions