diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2007-06-04 21:29:01 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2007-06-04 21:29:01 +0000 |
commit | b9d493510e957faecdf598f64b66c6fc8fa2da62 (patch) | |
tree | 9263e973bcea9511b2097f197de626937eb83339 | |
parent | da04dcb60a4e898ebe83be225a1f3919c798bb12 (diff) | |
download | gcc-b9d493510e957faecdf598f64b66c6fc8fa2da62.zip gcc-b9d493510e957faecdf598f64b66c6fc8fa2da62.tar.gz gcc-b9d493510e957faecdf598f64b66c6fc8fa2da62.tar.bz2 |
* stor-layout.c (layout_type): Remove duplicate code.
From-SVN: r125318
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/stor-layout.c | 3 |
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; |