summaryrefslogtreecommitdiff
path: root/gcc/stor-layout.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-04 21:29:01 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-04 21:29:01 +0000
commita2ee4f787985be77be73ad61a384b50bc864b8c3 (patch)
tree9263e973bcea9511b2097f197de626937eb83339 /gcc/stor-layout.c
parente240dd657646703cfcf415d2009a2543732c4e4f (diff)
downloadgcc-a2ee4f787985be77be73ad61a384b50bc864b8c3.tar.gz
* stor-layout.c (layout_type): Remove duplicate code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125318 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r--gcc/stor-layout.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index 43ca759df07..bfdb4834733 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -1808,8 +1808,7 @@ layout_type (tree type)
if (TYPE_MODE (type) != BLKmode
&& STRICT_ALIGNMENT && TYPE_ALIGN (type) < BIGGEST_ALIGNMENT
- && TYPE_ALIGN (type) < GET_MODE_ALIGNMENT (TYPE_MODE (type))
- && TYPE_MODE (type) != BLKmode)
+ && TYPE_ALIGN (type) < GET_MODE_ALIGNMENT (TYPE_MODE (type)))
{
TYPE_NO_FORCE_BLK (type) = 1;
TYPE_MODE (type) = BLKmode;