mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-16 13:01:21 +08:00
cfgexpand.c (discover_nonconstant_array_refs_r): Make only non-BLKmode arrays addressable.
2009-06-03 Richard Guenther <rguenther@suse.de> Andrey Belevantsev <abel@ispras.ru> * cfgexpand.c (discover_nonconstant_array_refs_r): Make only non-BLKmode arrays addressable. Co-Authored-By: Andrey Belevantsev <abel@ispras.ru> From-SVN: r148130
This commit is contained in:
parent
8896147199
commit
6f11d6900d
@ -1,3 +1,9 @@
|
||||
2009-06-03 Richard Guenther <rguenther@suse.de>
|
||||
Andrey Belevantsev <abel@ispras.ru>
|
||||
|
||||
* cfgexpand.c (discover_nonconstant_array_refs_r): Make only
|
||||
non-BLKmode arrays addressable.
|
||||
|
||||
2009-06-03 Maxim Kuvyrkov <maxim@codesourcery.com>
|
||||
|
||||
* config/m68k/linux.h (HAVE_GAS_BALIGN_AND_P2ALIGN): Move to ...
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user