* tree.h (DECL_ALIGN): Prevent use on a FUNCTION_DECL.
From-SVN: r126270
This commit is contained in:
parent
0bacb8c748
commit
f972b2cb9d
|
@ -1,3 +1,7 @@
|
||||||
|
2007-07-03 Geoffrey Keating <geoffk@apple.com>
|
||||||
|
|
||||||
|
* tree.h (DECL_ALIGN): Prevent use on a FUNCTION_DECL.
|
||||||
|
|
||||||
2007-07-03 Tom Tromey <tromey@redhat.com>
|
2007-07-03 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* c-parser.c (objc_pq_context): Removed.
|
* c-parser.c (objc_pq_context): Removed.
|
||||||
|
|
|
@ -2586,7 +2586,7 @@ struct tree_memory_partition_tag GTY(())
|
||||||
/* Likewise for the size in bytes. */
|
/* Likewise for the size in bytes. */
|
||||||
#define DECL_SIZE_UNIT(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.size_unit)
|
#define DECL_SIZE_UNIT(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.size_unit)
|
||||||
/* Holds the alignment required for the datum, in bits. */
|
/* Holds the alignment required for the datum, in bits. */
|
||||||
#define DECL_ALIGN(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.u1.a.align)
|
#define DECL_ALIGN(NODE) (TREE_NOT_CHECK (DECL_COMMON_CHECK (NODE), FUNCTION_DECL)->decl_common.u1.a.align)
|
||||||
/* The alignment of NODE, in bytes. */
|
/* The alignment of NODE, in bytes. */
|
||||||
#define DECL_ALIGN_UNIT(NODE) (DECL_ALIGN (NODE) / BITS_PER_UNIT)
|
#define DECL_ALIGN_UNIT(NODE) (DECL_ALIGN (NODE) / BITS_PER_UNIT)
|
||||||
/* For FIELD_DECLs, off_align holds the number of low-order bits of
|
/* For FIELD_DECLs, off_align holds the number of low-order bits of
|
||||||
|
|
Loading…
Reference in New Issue