diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2010-04-11 11:49:22 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2010-04-11 11:49:22 +0000 |
commit | 3cd64bab882b6bebb364ba7df6da511552124feb (patch) | |
tree | 4de7dc724b7c55a6130ca6a06a873f4b2cfaaf7e /gcc/tree-parloops.c | |
parent | 87fa3d342b62a632f1e44008c18bc60a9ac90af1 (diff) | |
download | gcc-3cd64bab882b6bebb364ba7df6da511552124feb.zip gcc-3cd64bab882b6bebb364ba7df6da511552124feb.tar.gz gcc-3cd64bab882b6bebb364ba7df6da511552124feb.tar.bz2 |
trans.c (lvalue_required_for_attribute_p): New static function.
* gcc-interface/trans.c (lvalue_required_for_attribute_p): New static
function.
(lvalue_required_p) <N_Attribute_Reference>: Call it.
(gnat_to_gnu) <N_Selected_Component>: Prevent build_component_ref from
folding the result only if lvalue_required_for_attribute_p is true.
* gcc-interface/utils.c (maybe_unconstrained_array): Pass correctly
typed constant to build_component_ref.
(unchecked_convert): Likewise.
* gcc-interface/utils2.c (maybe_wrap_malloc): Likewise.
(build_allocator): Likewise.
From-SVN: r158202
Diffstat (limited to 'gcc/tree-parloops.c')
0 files changed, 0 insertions, 0 deletions