gcc/libcpp
Tom Tromey 5d6342ebc2 re PR preprocessor/27777 (Bad diagnostic emission when #error contains a trigraph)
gcc/testsuite
	PR preprocessor/27777:
	* gcc.dg/cpp/pr27777.c: New file.
libcpp
	PR preprocessor/27777:
	* lex.c (cpp_output_line_to_string): New function.
	* internal.h (_cpp_begin_message): Don't declare.
	* errors.c (_cpp_begin_message): Now static.
	* include/cpplib.h (cpp_output_line_to_string): Declare.
	* directives.c (do_diagnostic): Rewrote.  Use
	cpp_output_line_to_string.  Don't use _cpp_begin_message.

From-SVN: r135740
2008-05-21 21:52:57 +00:00
..
include re PR preprocessor/27777 (Bad diagnostic emission when #error contains a trigraph) 2008-05-21 21:52:57 +00:00
po * fr.po: Update. 2008-03-28 02:07:37 +00:00
ChangeLog re PR preprocessor/27777 (Bad diagnostic emission when #error contains a trigraph) 2008-05-21 21:52:57 +00:00
Makefile.in Makefile.in (TAGS_SOURCES): New variable. 2008-04-16 21:10:37 +00:00
aclocal.m4 re PR other/35457 (Error building GCC trunk on CELL SPU) 2008-04-18 10:28:53 +00:00
charset.c re PR preprocessor/33415 (Can't compile .cpp file with UTF-8 BOM.) 2008-04-21 14:02:00 +00:00
config.in ( 5) 2007-12-03 21:04:47 +00:00
configure config.gcc (sparc*-*-*): Always set need_64bit_hwint to yes. 2008-05-04 04:25:04 -07:00
configure.ac config.gcc (sparc*-*-*): Always set need_64bit_hwint to yes. 2008-05-04 04:25:04 -07:00
directives-only.c directives-only.c: New file. 2007-07-30 18:29:20 +00:00
directives.c re PR preprocessor/27777 (Bad diagnostic emission when #error contains a trigraph) 2008-05-21 21:52:57 +00:00
errors.c re PR preprocessor/27777 (Bad diagnostic emission when #error contains a trigraph) 2008-05-21 21:52:57 +00:00
expr.c re PR preprocessor/22168 (#if #A == #B should have a diagnostic in ISO C mode) 2008-05-13 14:50:27 +00:00
files.c re PR preprocessor/33415 (Can't compile .cpp file with UTF-8 BOM.) 2008-04-21 14:02:00 +00:00
identifiers.c traditional.c (lex_identifier): Use CPP_HASHNODE. 2008-02-20 02:16:43 +00:00
init.c cpp-id-data.h (UC): Was U, conflicts with U... 2008-04-18 09:58:08 -04:00
internal.h re PR preprocessor/27777 (Bad diagnostic emission when #error contains a trigraph) 2008-05-21 21:52:57 +00:00
lex.c re PR preprocessor/27777 (Bad diagnostic emission when #error contains a trigraph) 2008-05-21 21:52:57 +00:00
line-map.c traditional.c (lex_identifier): Use CPP_HASHNODE. 2008-02-20 02:16:43 +00:00
macro.c cpp-id-data.h (UC): Was U, conflicts with U... 2008-04-18 09:58:08 -04: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 re PR preprocessor/35458 (Dependency generation (-M) does not quote '#' in filenames) 2008-03-06 18:08:40 +00:00
pch.c Fixup whitespacing 2007-06-01 02:12:37 +00:00
symtab.c symtab.h (HT_ALLOCED): Remove. 2008-05-21 15:00:59 +00:00
system.h all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
traditional.c traditional.c (lex_identifier): Use CPP_HASHNODE. 2008-02-20 02:16:43 +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