egcs/gcc ChangeLog c-decl.c c-typeck.c extend. ...

rth@gcc.gnu.org rth@gcc.gnu.org
Sun Nov 19 15:40:00 GMT 2000


CVSROOT:	/cvs/gcc
Module name:	egcs
Changes by:	rth@gcc.gnu.org	2000-11-19 15:40:37

Modified files:
	gcc            : ChangeLog c-decl.c c-typeck.c extend.texi 
	                 tree.c varasm.c 

Log message:
	* c-decl.c (grokdeclarator): Support flexible array members.
	Use open-ended ranges for these and zero-length arrays.
	* c-typeck.c (push_init_level): Validate the context of
	initialization of a zero-length array.
	* tree.c (int_fits_type_p): Be prepared for missing bounds.
	* varasm.c (array_size_for_constructor): New.
	(output_constructor): Use it for arrays of unspecified length.
	* extend.texi (Zero Length): Mention C99 flexible array members.
	Document initialization in a top-level struct as valid.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.8314&r2=1.8315
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/c-decl.c.diff?cvsroot=gcc&r1=1.179&r2=1.180
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/c-typeck.c.diff?cvsroot=gcc&r1=1.103&r2=1.104
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/extend.texi.diff?cvsroot=gcc&r1=1.69&r2=1.70
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/tree.c.diff?cvsroot=gcc&r1=1.174&r2=1.175
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/varasm.c.diff?cvsroot=gcc&r1=1.143&r2=1.144



More information about the Gcc-cvs mailing list