* 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. From-SVN: r46472
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
ChangeLog | Loading commit data... | |
Makefile.in | Loading commit data... | |
VERSION | Loading commit data... | |
bindtextdom.c | Loading commit data... | |
config.charset | Loading commit data... | |
dcgettext.c | Loading commit data... | |
dcigettext.c | Loading commit data... | |
dcngettext.c | Loading commit data... | |
dgettext.c | Loading commit data... | |
dngettext.c | Loading commit data... | |
explodename.c | Loading commit data... | |
finddomain.c | Loading commit data... | |
gettext.c | Loading commit data... | |
gettext.h | Loading commit data... | |
gettextP.h | Loading commit data... | |
hash-string.h | Loading commit data... | |
intl-compat.c | Loading commit data... | |
l10nflist.c | Loading commit data... | |
libgettext.h | Loading commit data... | |
libgnuintl.h | Loading commit data... | |
loadinfo.h | Loading commit data... | |
loadmsgcat.c | Loading commit data... | |
localcharset.c | Loading commit data... | |
locale.alias | Loading commit data... | |
localealias.c | Loading commit data... | |
ngettext.c | Loading commit data... | |
plural.c | Loading commit data... | |
plural.y | Loading commit data... | |
ref-add.sin | Loading commit data... | |
ref-del.sin | Loading commit data... | |
textdomain.c | Loading commit data... |