gcc/libcpp
Jakub Jelinek 1c90c6f9c0 re PR preprocessor/27746 (ICE on openmp code when using _Pragma from macro)
PR preprocessor/27746
	* directives.c (do_pragma): Handle pragma with valid namespace
	and invalid name coming from macro expansion.
	* directives.c (destringize_and_run): Initialize next field in
	context.

	PR c/27747
	PR c++/27748
	* directives.c (destringize_and_run): Set NO_EXPAND on the
	tokens.

	* macro.c (_cpp_backup_tokens): Fix comment typo.
testsuite/
	PR c/27747
	* gcc.dg/cpp/_Pragma6.c: New test.

	PR c++/27748
	* g++.dg/cpp/_Pragma1.C: New test.

	PR preprocessor/27746
	* gcc.dg/gomp/macro-3.c: New test.
	* gcc.dg/gomp/macro-4.c: New test.
	* g++.dg/gomp/macro-3.C: New test.
	* g++.dg/gomp/macro-4.C: New test.

From-SVN: r114519
2006-06-09 23:13:25 +02:00
..
include cpp.texi (__TIMESTAMP__): Document. 2006-02-18 10:25:31 +01:00
po * de.po: Update. 2006-04-21 20:45:50 +01:00
ChangeLog re PR preprocessor/27746 (ICE on openmp code when using _Pragma from macro) 2006-06-09 23:13:25 +02:00
Makefile.in gcc/, libcpp/ 2006-05-31 15:34:37 +00:00
aclocal.m4 top level: 2005-06-13 08:26:05 +00:00
charset.c re PR c++/17964 (cpp error messages contain wrong line in C++) 2005-11-03 23:08:18 +00:00
config.in configure.ac: Check declarations for asprintf and vasprintf. 2005-05-28 15:52:48 +00:00
configure gcc/, libcpp/ 2006-05-31 15:34:37 +00:00
configure.ac configure.in (arm-*-linux-gnueabi): Add to noconfigdirs target-libffi... 2005-10-08 18:17:20 +00:00
directives.c re PR preprocessor/27746 (ICE on openmp code when using _Pragma from macro) 2006-06-09 23:13:25 +02:00
errors.c cp-tree.h (cp_cpp_error), [...]): Take va_list* parameter. 2005-11-04 01:16:32 +00:00
expr.c cpplib.h (CPP_N_DFLOAT): New. 2005-12-07 10:13:15 +11:00
files.c cpp.texi (__TIMESTAMP__): Document. 2006-02-18 10:25:31 +01:00
identifiers.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
init.c cpp.texi (__TIMESTAMP__): Document. 2006-02-18 10:25:31 +01:00
internal.h cpp.texi (__TIMESTAMP__): Document. 2006-02-18 10:25:31 +01:00
lex.c directives.c (struct pragma_entry): Add is_deferred. 2006-01-04 08:33:38 -08:00
line-map.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
macro.c re PR preprocessor/27746 (ICE on openmp code when using _Pragma from macro) 2006-06-09 23:13:25 +02:00
makedepend.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
makeucnid.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
mkdeps.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
pch.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
symtab.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
system.h all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
traditional.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
ucnid.h all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
ucnid.tab all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00