aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2010-04-11 11:49:22 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2010-04-11 11:49:22 +0000
commit3cd64bab882b6bebb364ba7df6da511552124feb (patch)
tree4de7dc724b7c55a6130ca6a06a873f4b2cfaaf7e /gcc/c-decl.c
parent87fa3d342b62a632f1e44008c18bc60a9ac90af1 (diff)
downloadgcc-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/c-decl.c')
0 files changed, 0 insertions, 0 deletions