gcc/gcc ChangeLog c-typeck.c testsuite/ChangeL ...

wilson@gcc.gnu.org wilson@gcc.gnu.org
Fri Sep 10 03:51:00 GMT 2004


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	wilson@gcc.gnu.org	2004-09-10 03:51:40

Modified files:
	gcc            : ChangeLog c-typeck.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg: init-vec-1.c 

Log message:
	Fix ICE on invalid input, and eliminate confusing error message.
	* c-typeck.c (convert_for_assignment): Check that rhs has VECTOR_TYPE
	before calling vector_types_convertible_p.
	(digest_init): Check that inside_init has VECTOR_TYPE before calling
	vector_types_convertible_p.  Don't give another error if
	convert_for_assignment returns error_mark_node.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5349&r2=2.5350
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-typeck.c.diff?cvsroot=gcc&r1=1.369&r2=1.370
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4254&r2=1.4255
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/init-vec-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



More information about the Gcc-cvs mailing list