i386.c (x86_field_alignment): Remove duplicate test of TARGET_ALIGN_DOUBLE.
authorNathan Sidwell <nathan@codesourcery.com>
Sun, 4 Aug 2002 14:53:45 +0000 (14:53 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Sun, 4 Aug 2002 14:53:45 +0000 (14:53 +0000)
* config/i386/i386.c (x86_field_alignment): Remove duplicate test
of TARGET_ALIGN_DOUBLE.

From-SVN: r56024

gcc/ChangeLog
gcc/config/i386/i386.c

index 6476d4704157064208e572ab3a7822b6b2672603..ff964788f43740513b8d0d2e526324dbf7637c09 100644 (file)
@@ -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.
index 3771d4f315e5f4ece89d20304832a9dbb790f3a6..f2e33c6f77b1ee876cfc095f5c997968ad92e151 100644 (file)
@@ -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;
 }