summaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-24 20:10:53 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-24 20:10:53 +0000
commit521369900202afd3918f5859d3da0e351b1e2a06 (patch)
treec0538b67d74f1cd1505eb648f2f17be9f0ccc09c /gcc/c-common.h
parent10159af365137961781f9986bf6e66146277e5f7 (diff)
downloadgcc-521369900202afd3918f5859d3da0e351b1e2a06.tar.gz
* c-common.h (struct c_common_identifier): Remove rid_code field.
(C_RID_CODE): Use ->node.rid_code instead of ->rid_code. * c-typeck.c (constructor_designated): New local flag. (struct constructor_stack): Add "designated" field to match. (start_init): Clear it. (really_start_incremental_init, push_init_level): Push and clear it. (pop_init_level): Pop it. (set_designator): Set it. (pop_init_level): Suppress "missing initializer" warnings if constructor_designated is true. (process_init_element): Suppress warning about union initialization under traditional C, if constructor_designated is true. * intl/loadmsgcat.c (INTTYPE_SIGNED, INTTYPE_MINIMUM, INTTYPE_MAXIMUM): Clone from system.h. (_nl_load_domain): Use them when testing for overflow of size_t. Cast result of sizeof to off_t to compare to st_size value. Move side effects out of conditional for comprehensibility. * testsuite/gcc.dg/20011021-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46472 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index 8d378b82348..d8bb629d4bb 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -177,7 +177,7 @@ enum c_tree_index
CTI_MAX
};
-#define C_RID_CODE(id) (((struct c_common_identifier *) (id))->rid_code)
+#define C_RID_CODE(id) (((struct c_common_identifier *) (id))->node.rid_code)
/* Identifier part common to the C front ends. Inherits from
tree_identifier, despite appearances. */
@@ -185,7 +185,6 @@ struct c_common_identifier
{
struct tree_common common;
struct cpp_hashnode node;
- ENUM_BITFIELD(rid) rid_code: CHAR_BIT;
};
#define wchar_type_node c_global_trees[CTI_WCHAR_TYPE]