aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2002-08-04 14:53:45 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2002-08-04 14:53:45 +0000
commitb23c054d0b5ccb227380655d58e7c6a4644491c2 (patch)
tree9e06cc5c946c1ace5595ac24eddf903b456074f7 /gcc
parentdd98e14f312f42c0c00105b077f0b5dd5ee8460e (diff)
downloadgcc-b23c054d0b5ccb227380655d58e7c6a4644491c2.zip
gcc-b23c054d0b5ccb227380655d58e7c6a4644491c2.tar.gz
gcc-b23c054d0b5ccb227380655d58e7c6a4644491c2.tar.bz2
i386.c (x86_field_alignment): Remove duplicate test of TARGET_ALIGN_DOUBLE.
* config/i386/i386.c (x86_field_alignment): Remove duplicate test of TARGET_ALIGN_DOUBLE. From-SVN: r56024
Diffstat (limited to 'gcc')
-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;
}