diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 69e7416d7d7a..17077e2f190a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-10-16 Amruth Laxman + + PR target/33594 + * config/sparc/sparc.h (LOCAL_ALIGNMENT): Define. + 2007-10-16 Eric Botcazou * dce.c (init_dce): Only initialize the obstacks for the fast pass. diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index fc154a4c3729..94b877340367 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -691,6 +691,9 @@ if (TARGET_ARCH64 \ && TYPE_MODE (TREE_TYPE (TYPE)) == QImode \ && (ALIGN) < FASTEST_ALIGNMENT ? FASTEST_ALIGNMENT : (ALIGN)) +/* Make local arrays of chars word-aligned for the same reasons. */ +#define LOCAL_ALIGNMENT(TYPE, ALIGN) DATA_ALIGNMENT (TYPE, ALIGN) + /* Set this nonzero if move instructions will actually fail to work when given unaligned data. */ #define STRICT_ALIGNMENT 1