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
+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 ...
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;
}