diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-08 09:02:54 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-08 09:02:54 +0000 |
commit | 9e3359da54ff7d68b6811c69d68b35a037bc10f3 (patch) | |
tree | d236987c163df76b8b17aa8e1b4db328dc1ceb37 /gcc/cfgexpand.c | |
parent | 4cb0c64a22e7e7df9b2e34f4fbd3a17443a61178 (diff) | |
download | gcc-9e3359da54ff7d68b6811c69d68b35a037bc10f3.tar.gz |
2009-06-08 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r148271
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@148272 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r-- | gcc/cfgexpand.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index 31d346e6cb3..939aa58279d 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -2321,7 +2321,8 @@ discover_nonconstant_array_refs_r (tree * tp, int *walk_subtrees, if (TREE_CODE (t) == ARRAY_REF || TREE_CODE (t) == ARRAY_RANGE_REF) { t = get_base_address (t); - if (t && DECL_P (t)) + if (t && DECL_P (t) + && DECL_MODE (t) != BLKmode) TREE_ADDRESSABLE (t) = 1; } |