egcs/gcc ChangeLog c-common.c c-parse.in cp/Ch ...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Thu Feb 7 23:51:00 GMT 2002


CVSROOT:	/cvs/gcc
Module name:	egcs
Changes by:	jakub@gcc.gnu.org	2002-02-07 23:51:21

Modified files:
	gcc            : ChangeLog c-common.c c-parse.in 
	gcc/cp         : ChangeLog 
	gcc/testsuite  : ChangeLog 
	gcc/cp         : parse.y 
	gcc/testsuite/gcc.c-torture/execute: 20020206-1.c 
Added files:
	gcc/testsuite/gcc.dg/noncompile: 20020207-1.c 

Log message:
	* c-common.c (c_expand_expr): Revert 2002-02-06 patch.
	* c-parse.in (compstmt): Clear last_expr_type.
	
	* parse.y (primary, primary_no_id): Use compstmt_or_stmtexpr
	instead of compstmt.
	(compstmt_or_stmtexpr): Renamed from compstmt.
	(compstmt): In addition to compstmt_or_stmtexpr clear last_expr_type.
	
	* gcc.c-torture/execute/20020206-1.c: Test whether nesting 2
	expression statements work instead.
	* gcc.dg/noncompile/20020207-1.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.12974&r2=1.12975
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/c-common.c.diff?cvsroot=gcc&r1=1.289&r2=1.290
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/c-parse.in.diff?cvsroot=gcc&r1=1.126&r2=1.127
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.2669&r2=1.2670
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.1633&r2=1.1634
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cp/parse.y.diff?cvsroot=gcc&r1=1.245&r2=1.246
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/gcc.c-torture/execute/20020206-1.c.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/gcc.dg/noncompile/20020207-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



More information about the Gcc-cvs mailing list