aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-06-04 21:29:01 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2007-06-04 21:29:01 +0000
commitb9d493510e957faecdf598f64b66c6fc8fa2da62 (patch)
tree9263e973bcea9511b2097f197de626937eb83339 /gcc
parentda04dcb60a4e898ebe83be225a1f3919c798bb12 (diff)
downloadgcc-b9d493510e957faecdf598f64b66c6fc8fa2da62.zip
gcc-b9d493510e957faecdf598f64b66c6fc8fa2da62.tar.gz
gcc-b9d493510e957faecdf598f64b66c6fc8fa2da62.tar.bz2
* stor-layout.c (layout_type): Remove duplicate code.
From-SVN: r125318
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/stor-layout.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 33ab7dc..4573adf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index 43ca759..bfdb483 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;