aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6476d47..ff96478 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-04 Nathan Sidwell <nathan@codesourcery.com>
+
+ * config/i386/i386.c (x86_field_alignment): Remove duplicate test
+ of TARGET_ALIGN_DOUBLE.
+
2002-08-04 Gabriel Dos Reis <gdr@nerim.net>
* diagnostic.c (inform): New function.
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 3771d4f..f2e33c6 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -13822,9 +13822,7 @@ x86_field_alignment (field, computed)
return computed;
mode = TYPE_MODE (TREE_CODE (TREE_TYPE (field)) == ARRAY_TYPE
? get_inner_array_type (field) : TREE_TYPE (field));
- if ((mode == DFmode || mode == DCmode
- || mode == DImode || mode == CDImode)
- && !TARGET_ALIGN_DOUBLE)
+ if (mode == DFmode || mode == DCmode || mode == DImode || mode == CDImode)
return MIN (32, computed);
return computed;
}