diff options
author | Amruth Laxman <amruth.laxman@nsn.com> | 2007-10-16 20:43:02 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2007-10-16 20:43:02 +0000 |
commit | 9eb061d7411734dac29533d4c8a6aba17ced2b76 (patch) | |
tree | 12dbac411465afafcd8510188c2bf347a5064ee9 /gcc/config/sparc | |
parent | 2e6be65ec6ee3a39c125cd71c348e0ec3b715fc0 (diff) | |
download | gcc-9eb061d7411734dac29533d4c8a6aba17ced2b76.zip gcc-9eb061d7411734dac29533d4c8a6aba17ced2b76.tar.gz gcc-9eb061d7411734dac29533d4c8a6aba17ced2b76.tar.bz2 |
re PR target/33594 (stack arrays not aligned on word boundaries)
PR target/33594
* config/sparc/sparc.h (LOCAL_ALIGNMENT): Define.
From-SVN: r129385
Diffstat (limited to 'gcc/config/sparc')
-rw-r--r-- | gcc/config/sparc/sparc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index fc154a4..94b8773 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 |