Commit 9eb061d7 by Amruth Laxman Committed by Eric Botcazou

re PR target/33594 (stack arrays not aligned on word boundaries)

	PR target/33594
	* config/sparc/sparc.h (LOCAL_ALIGNMENT): Define.

From-SVN: r129385
parent 2e6be65e
2007-10-16 Amruth Laxman <amruth.laxman@nsn.com>
PR target/33594
* config/sparc/sparc.h (LOCAL_ALIGNMENT): Define.
2007-10-16 Eric Botcazou <ebotcazou@libertysurf.fr> 2007-10-16 Eric Botcazou <ebotcazou@libertysurf.fr>
* dce.c (init_dce): Only initialize the obstacks for the fast pass. * dce.c (init_dce): Only initialize the obstacks for the fast pass.
...@@ -691,6 +691,9 @@ if (TARGET_ARCH64 \ ...@@ -691,6 +691,9 @@ if (TARGET_ARCH64 \
&& TYPE_MODE (TREE_TYPE (TYPE)) == QImode \ && TYPE_MODE (TREE_TYPE (TYPE)) == QImode \
&& (ALIGN) < FASTEST_ALIGNMENT ? FASTEST_ALIGNMENT : (ALIGN)) && (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 /* Set this nonzero if move instructions will actually fail to work
when given unaligned data. */ when given unaligned data. */
#define STRICT_ALIGNMENT 1 #define STRICT_ALIGNMENT 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment