aboutsummaryrefslogtreecommitdiff
path: root/gcc/explow.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2001-06-04 13:21:38 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2001-06-04 09:21:38 -0400
commitb4e3fabb4d782befffdfc0694e9e2aa7c49cef07 (patch)
treee79ce033c0250b6636b696185f9b705119768656 /gcc/explow.c
parentc7d468e6983d3562c3641d4a0f35a44c8617ab05 (diff)
downloadgcc-b4e3fabb4d782befffdfc0694e9e2aa7c49cef07.zip
gcc-b4e3fabb4d782befffdfc0694e9e2aa7c49cef07.tar.gz
gcc-b4e3fabb4d782befffdfc0694e9e2aa7c49cef07.tar.bz2
tree.def (ARRAY_RANGE_REF): New code.
* tree.def (ARRAY_RANGE_REF): New code. * alias.c (handled_component_p, can_address_p): Handle it. * dwarf2out.c (loc_descriptor_from_tree): Likewise. * explow.c (set_mem_attributes): Likewise. * expr.c (expand_assignment, get_inner_reference): Likewise. (expand_expr, expand_expr_unaligned, do_jump): Likewise. * fold-const.c (operand_equal_p): Likewise. * tree.c (staticp, stabilize_reference): Likewise. * varasm.c (decode_addr_const): Likewise. From-SVN: r42848
Diffstat (limited to 'gcc/explow.c')
-rw-r--r--gcc/explow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/explow.c b/gcc/explow.c
index 171670b..921e555 100644
--- a/gcc/explow.c
+++ b/gcc/explow.c
@@ -1,6 +1,6 @@
/* Subroutines for manipulating rtx's in semantically interesting ways.
Copyright (C) 1987, 1991, 1994, 1995, 1996, 1997, 1998,
- 1999, 2000 Free Software Foundation, Inc.
+ 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -702,6 +702,7 @@ set_mem_attributes (ref, t, objectp)
if (DECL_P (t))
MEM_SCALAR_P (ref) = 1;
else if (TREE_CODE (t) == COMPONENT_REF || TREE_CODE (t) == ARRAY_REF
+ || TREE_CODE (t) == ARRAY_RANGE_REF
|| TREE_CODE (t) == BIT_FIELD_REF)
MEM_IN_STRUCT_P (ref) = 1;
}