summaryrefslogtreecommitdiffstats
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-05 05:58:23 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-05 05:58:23 +0000
commit21c8999d936bf4280e949c225c46fd0334508a9e (patch)
treef0375afbbd6220caa4aacf6320495224ac911480 /gcc/cpplib.h
parenta707dc90e7f242dab97dee41aed6e2d8470c0c00 (diff)
downloadppe42-gcc-21c8999d936bf4280e949c225c46fd0334508a9e.tar.gz
ppe42-gcc-21c8999d936bf4280e949c225c46fd0334508a9e.zip
* c-decl.c (finish_struct): Detect flexible array members
used in an inappropriate context. * c-typeck.c (really_start_incremental_init): Special case constructor_max_index for zero length arrays. (pop_init_level): Allow initialization of flexible array members. Deprecate initialization of zero length arrays. Don't issue missing initializer warning for flexible array members or zero length arrays. (process_init_element): Don't dereference null DECL_SIZE. * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT. Don't abort for empty constructors. Use size_binop (output_constructor): Add commentary regarding zero length array futures. Abort if we try to initialize an array of unspecified length with a non-empty constructor in the middle of a structure. * extend.texi (Zero Length): Update and clarify documentation on static initialization. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38705 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplib.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud