diff options
author | David Edelsohn <edelsohn@gnu.org> | 2002-12-23 15:26:13 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2002-12-23 10:26:13 -0500 |
commit | 7c02ae17fed20316d9790f679903b274f6abe77d (patch) | |
tree | da9d1ed0bafd00ca604630a421353ea2f68d8caa /gcc/expr.c | |
parent | 317d21e95bf05eddff4abd1e6c29d36e376e5079 (diff) | |
download | gcc-7c02ae17fed20316d9790f679903b274f6abe77d.zip gcc-7c02ae17fed20316d9790f679903b274f6abe77d.tar.gz gcc-7c02ae17fed20316d9790f679903b274f6abe77d.tar.bz2 |
expr.c (expand_assignment): Apply special treatment to ARRAY_TYPE.
* expr.c (expand_assignment): Apply special treatment to
ARRAY_TYPE.
From-SVN: r60437
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4027,7 +4027,8 @@ expand_assignment (to, from, want_value, suggest_reg) problem. */ if (TREE_CODE (to) == COMPONENT_REF || TREE_CODE (to) == BIT_FIELD_REF - || TREE_CODE (to) == ARRAY_REF || TREE_CODE (to) == ARRAY_RANGE_REF) + || TREE_CODE (to) == ARRAY_REF || TREE_CODE (to) == ARRAY_RANGE_REF + || TREE_CODE (TREE_TYPE (to)) == ARRAY_TYPE) { enum machine_mode mode1; HOST_WIDE_INT bitsize, bitpos; |