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
This commit is contained in:
Nathan Sidwell 2002-08-04 14:53:45 +00:00 committed by Nathan Sidwell
parent dd98e14f31
commit b23c054d0b
2 changed files with 6 additions and 3 deletions

View 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.

View 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;
}