(TARGET_SWITCHES): Make -mold-align set TARGET_FLAG_STRICT_ALIGN.
authorJim Wilson <wilson@gcc.gnu.org>
Wed, 29 Mar 1995 19:53:08 +0000 (11:53 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 29 Mar 1995 19:53:08 +0000 (11:53 -0800)
(TARGET_SWITCHES): Make -mold-align set
TARGET_FLAG_STRICT_ALIGN.
(STRICT_ALIGNMENT): Test TARGET_STRICT_ALIGN.

From-SVN: r9243

gcc/config/i960/i960.h

index 67b3909..226682e 100644 (file)
@@ -255,8 +255,8 @@ extern int target_flags;
     {"intel-asm",TARGET_FLAG_ASM_COMPAT},              \
     {"strict-align", TARGET_FLAG_STRICT_ALIGN},                \
     {"no-strict-align", -(TARGET_FLAG_STRICT_ALIGN)},  \
-    {"old-align", TARGET_FLAG_OLD_ALIGN},              \
-    {"no-old-align", -(TARGET_FLAG_OLD_ALIGN)},                \
+    {"old-align", (TARGET_FLAG_OLD_ALIGN|TARGET_FLAG_STRICT_ALIGN)},    \
+    {"no-old-align", -(TARGET_FLAG_OLD_ALIGN|TARGET_FLAG_STRICT_ALIGN)}, \
     {"link-relax", 0},                                 \
     {"no-link-relax", 0},                              \
     { "", TARGET_DEFAULT}}
@@ -374,7 +374,7 @@ extern int target_flags;
 /* Define this if move instructions will actually fail to work
    when given unaligned data.
    80960 will work even with unaligned data, but it is slow.  */
-#define STRICT_ALIGNMENT TARGET_OLD_ALIGN
+#define STRICT_ALIGNMENT TARGET_STRICT_ALIGN
 
 /* Specify alignment for string literals (which might be higher than the
    base type's minimal alignment requirement.  This allows strings to be