gcc/gcc ChangeLog.gomp c-common.h c-parser.c c ...

rth@gcc.gnu.org rth@gcc.gnu.org
Tue Oct 11 08:48:00 GMT 2005


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gomp-20050608-branch
Changes by:	rth@gcc.gnu.org	2005-10-11 08:48:34

Modified files:
	gcc            : ChangeLog.gomp c-common.h c-parser.c c-pch.c 
	                 c-pragma.c c-pragma.h 
	gcc/cp         : ChangeLog.gomp parser.c 
	gcc/testsuite  : ChangeLog.gomp 
	gcc/testsuite/g++.dg/parse: pragma2.C 

Log message:
	* c-pragma.h (enum pragma_kind): Add PRAGMA_GCC_PCH_PREPROCESS.
	* c-pragma.c (c_register_pragma_1): Assert id in range of the
	field used by the c++ front end.
	(init_pragma): Register GCC pch_preprocess as an internal pragma.
	* c-pch.c (c_common_pch_pragma): Take name argument.  Don't do the
	actual lexing of this pragma here.
	* c-common.h (c_common_pch_pragma): Update.
	* c-parser.c (c_parser_pragma): Handle PRAGMA_GCC_PCH_PREPROCESS.
	cp/
	* parser.c (struct cp_token): Add pragma_kind.
	(eof_token): Initialize it.
	(cp_lexer_handle_pragma): Remove.
	(cp_parser_initial_pragma): New.
	(cp_lexer_new_main): Use it.
	(cp_lexer_get_preprocessor_token): Initialize pragma_kind.
	(cp_lexer_print_token): Don't handle CPP_PRAGMA.
	(cp_parser_skip_to_pragma_eol): New.
	testsuite/
	* g++.dg/parse/pragma2.C: Update expected errors.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.gomp.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.6.73&r2=1.1.6.74
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.h.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.294.4.11&r2=1.294.4.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-parser.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=2.17.4.31&r2=2.17.4.32
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-pch.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.32.4.2&r2=1.32.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-pragma.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.87.4.5&r2=1.87.4.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-pragma.h.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.47.8.3&r2=1.47.8.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.gomp.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.8.3&r2=1.1.8.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.340.4.8&r2=1.340.4.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.gomp.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.20&r2=1.1.2.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/pragma2.C.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1&r2=1.1.36.1



More information about the Gcc-cvs mailing list