egcs/gcc ChangeLog cppexp.c cppinit.c testsuit ...

zack@gcc.gnu.org zack@gcc.gnu.org
Wed Feb 7 10:32:00 GMT 2001


CVSROOT:	/cvs/gcc
Module name:	egcs
Changes by:	zack@gcc.gnu.org	2001-02-07 10:32:43

Modified files:
	gcc            : ChangeLog cppexp.c cppinit.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg: stdbool-if.C 

Log message:
	* cpphash.h (struct spec_nodes): Add n_true and n_false.
	* cppinit.c (cpp_create_reader): Initialize them.
	(append_include_chain): cxx_aware arg might be unused.
	* cppexp.c (lex): In C++ mode, recognize 'true' and 'false'
	keywords and give them their phase 7 meaning.  Pedwarn about
	this unless '__bool_true_false_are_defined' is defined.
	
	* g++.dg/stdbool-if.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.9209&r2=1.9210
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cppexp.c.diff?cvsroot=gcc&r1=1.86&r2=1.87
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cppinit.c.diff?cvsroot=gcc&r1=1.146&r2=1.147
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.1069&r2=1.1070
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/g++.dg/stdbool-if.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



More information about the Gcc-cvs mailing list