gcc/libcpp
Kai Tietz 17e7cb8550 ChangeLog for libcpp
2009-11-11  Kai Tietz  <kai.tietz@onevision.com>

	* directives.c (do_pragma_push_macro): New pragma handler.
	(do_pragma_pop_macro): Likewise.
	(_cpp_init_internal_pragmas): Add push_macro and
	pop_macro handler to internal pragmas.
	(lex_macro_node_from_str): Removed.
	(cpp_push_definition): Replace lex_macro_node_from_str
	by _cpp_lex_identifier.
	(cpp_pop_definition): Likewise.
	* internal.h (_cpp_lex_identifier): New prototype.
	(def_pragma_macro): New structure.
	(cpp_reader): New member pushed_macros.
	* lex.c (_cpp_lex_identifier): New function.
	(lex_identifier_intern): New function.
	* init.c (cpp_create_reader): Initialize pushed_macros
	member.
	(cpp_destroy): Free elements in pushed_macros member.
	* pch.c (_cpp_save_pushed_macros): New function.
	(_cpp_restore_pushed_macros): Likewise.
	(_cpp_restore_pushed_macros): Use _cpp_save_pushed_macros.
	(cpp_read_state): Use _cpp_restore_pushed_macros.

ChangeLog for gcc

2009-11-11  Kai Tietz  <kai.tietz@onevision.com>

	* config/i386/cygming.h (HANDLE_PRAGMA_PUSH_POP_MACRO):
	Removed.
	* c-pragma.c (def_pragma_macro_value): Likewise.
	(def_pragma_macro): Likewise.
	(pushed_macro_table): Likewise.
	(HANDLE_PRAGMA_PUSH_POP_MACRO): Remove guarded
	code.
	* doc/tm.texi (HANDLE_PRAGMA_PUSH_POP_MACRO):
	Removed.

ChangeLog for gcc/testsuite

2009-11-11  Kai Tietz  <kai.tietz@onevision.com>

	* g++.dg/torture/pushpop_macro.C: New testcase.
	* gcc.c-torture/execute/pushpop_macro.c: New testcase.
	* gcc.dg/cpp/pragma-pop_macro-1.c: Allow test for all
	targets.

From-SVN: r154098
2009-11-11 19:37:19 +01:00
..
include charset.c (cpp_init_iconv): Initialize utf8_cset_desc. 2009-10-19 23:41:15 +02:00
po
aclocal.m4
ChangeLog ChangeLog for libcpp 2009-11-11 19:37:19 +01:00
charset.c charset.c (cpp_init_iconv): Initialize utf8_cset_desc. 2009-10-19 23:41:15 +02:00
config.in
configure
configure.ac
directives-only.c
directives.c ChangeLog for libcpp 2009-11-11 19:37:19 +01:00
errors.c
expr.c
files.c
identifiers.c
init.c ChangeLog for libcpp 2009-11-11 19:37:19 +01:00
internal.h ChangeLog for libcpp 2009-11-11 19:37:19 +01:00
lex.c ChangeLog for libcpp 2009-11-11 19:37:19 +01:00
line-map.c
macro.c charset.c (cpp_init_iconv): Initialize utf8_cset_desc. 2009-10-19 23:41:15 +02:00
Makefile.in
makeucnid.c
mkdeps.c
pch.c ChangeLog for libcpp 2009-11-11 19:37:19 +01:00
symtab.c
system.h
traditional.c
ucnid.h
ucnid.tab