aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2007-07-03 21:00:01 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2007-07-03 21:00:01 +0000
commite7005ecbe170f8bfb429dddd1f7d1aa8d3569fa5 (patch)
tree64df2de4252acaab99b6c13b07f8f3a07a9f32da /gcc
parente980a72948851a165a3aca8a9ba9f8d8cfc6712b (diff)
downloadgcc-e7005ecbe170f8bfb429dddd1f7d1aa8d3569fa5.zip
gcc-e7005ecbe170f8bfb429dddd1f7d1aa8d3569fa5.tar.gz
gcc-e7005ecbe170f8bfb429dddd1f7d1aa8d3569fa5.tar.bz2
* tree.h (DECL_ALIGN): Back out previous change.
From-SVN: r126276
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a822caa..89cfc69 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2007-07-03 Geoffrey Keating <geoffk@apple.com>
+
+ * tree.h (DECL_ALIGN): Back out previous change.
+
2007-07-03 Joseph Myers <joseph@codesourcery.com>
* configure.ac: Test for .dtprelword support on MIPS.
diff --git a/gcc/tree.h b/gcc/tree.h
index 9845779..a28f20b 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2586,7 +2586,7 @@ struct tree_memory_partition_tag GTY(())
/* Likewise for the size in bytes. */
#define DECL_SIZE_UNIT(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.size_unit)
/* Holds the alignment required for the datum, in bits. */
-#define DECL_ALIGN(NODE) (TREE_NOT_CHECK (DECL_COMMON_CHECK (NODE), FUNCTION_DECL)->decl_common.u1.a.align)
+#define DECL_ALIGN(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.u1.a.align)
/* The alignment of NODE, in bytes. */
#define DECL_ALIGN_UNIT(NODE) (DECL_ALIGN (NODE) / BITS_PER_UNIT)
/* For FIELD_DECLs, off_align holds the number of low-order bits of