OSDN Git Service

* stor-layout.c (layout_type): Remove duplicate code.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Jun 2007 21:29:01 +0000 (21:29 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Jun 2007 21:29:01 +0000 (21:29 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125318 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/stor-layout.c

index 33ab7dc..4573adf 100644 (file)
@@ -1,3 +1,7 @@
+2007-06-04  Kazu Hirata  <kazu@codesourcery.com>
+
+       * stor-layout.c (layout_type): Remove duplicate code.
+
 2007-06-04  Uros Bizjak  <ubizjak@gmail.com>
 
        PR c/32191
index 43ca759..bfdb483 100644 (file)
@@ -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;