From 153fbec8c7fa71a3da7368b8b0640ef910c30063 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Sun, 24 Feb 2008 02:43:13 +0000 Subject: [PATCH] rs6000.h (CONSTANT_ALIGNMENT): Use STRICT_ALIGNMENT instead of TARGET_STRICT_ALIGN. * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Use STRICT_ALIGNMENT instead of TARGET_STRICT_ALIGN. From-SVN: r132584 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/rs6000.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3a2296deed3..f3d97e68145 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-02-23 David Edelsohn + + * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Use STRICT_ALIGNMENT + instead of TARGET_STRICT_ALIGN. + 2008-02-23 Joseph Myers * explow.c (memory_address): Assert that the generated address is diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index f5bf7daac1e..0ab3b1d4c52 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -596,7 +596,7 @@ extern enum rs6000_nop_insertion rs6000_sched_insert_nops; Make vector constants quadword aligned. */ #define CONSTANT_ALIGNMENT(EXP, ALIGN) \ (TREE_CODE (EXP) == STRING_CST \ - && (TARGET_STRICT_ALIGN || !optimize_size) \ + && (STRICT_ALIGNMENT || !optimize_size) \ && (ALIGN) < BITS_PER_WORD \ ? BITS_PER_WORD \ : (ALIGN)) -- 2.30.2