Find a file
Manuel López-Ibáñez cfc9353275 re PR c++/14875 (When using 'or' keyword, the error message speaks of a '||' token)
2009-04-22  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

	PR c++/14875
	* c-common.c (c_parse_error): Take a token_flags parameter.
	Use token_type for the token type instead.
	Pass token_flags to cpp_type2name.
	* c-common.h (c_parse_error): Update declaration.
	* c-parser.c (c_parser_error): Pass 0 as token flags.
libcpp/
	* lex.c (cpp_type2name): Take a flags parameter. Call
	cpp_named_operator2name for named operators and cpp_digraph2name
	for digraphs.
	(cpp_digraph2name): New.
	(cpp_spell_token): Use it.
	(cpp_output_token): Likewise.
	* include/cpplib.h (cpp_type2name): Update declaration.
	* init.c (cpp_named_operator2name): New.
	* internal.h (cpp_named_operator2name): Declare.
cp/	
	* parser.c (cp_parser_error): Pass token->flags to c_parse_error.
testsuite/
	* g++.dg/parse/parser-pr14875.C: New.
	* g++.dg/parse/parser-pr14875-2.C: New.
	* g++.dg/parse/error6.C: Update match string.

From-SVN: r146589
2009-04-22 15:32:18 +00:00
boehm-gc backport: Support GNU/kOpenSolaris. 2009-03-01 17:49:31 +00:00
config Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
contrib ChangeLog for compare-all-tests addition 2009-04-16 14:26:19 +00:00
fixincludes Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gcc re PR c++/14875 (When using 'or' keyword, the error message speaks of a '||' token) 2009-04-22 15:32:18 +00:00
gnattools Makefile.in: (stamp-tools): Add handling of snames.ad[sb] 2009-04-10 15:09:53 +02:00
include decl.c (grokfndecl): Set DECL_CONTEXT on parms. 2009-03-17 19:31:18 -04:00
INSTALL
intl Makefile.tpl ($(srcdir)/configure): Update dependencies. 2008-06-17 23:13:35 +00:00
libada Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
libcpp re PR c++/14875 (When using 'or' keyword, the error message speaks of a '||' token) 2009-04-22 15:32:18 +00:00
libdecnumber Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
libffi Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
libgcc config.gcc: Add soft-fp/t-softfp and i386/t-linux to tmake_file for... 2009-04-17 13:51:19 +02:00
libgfortran re PR fortran/39782 (IO depends on uninitialised value) 2009-04-18 13:05:34 +03:00
libgomp re PR fortran/35423 (Implement OpenMP workshare) 2009-04-20 12:59:59 +02:00
libiberty configure.ac (setobjs, msdosdjgpp): Move a-priori setting of existing and required library functions to... 2009-04-14 13:46:29 -04:00
libjava configure.host: Restore match for darwin9 or later. 2009-04-09 23:51:57 +02:00
libmudflap Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
libobjc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
libssp re PR other/39062 (libssp/ssp.c needs malloc.h for mingw) 2009-04-13 12:37:17 +02:00
libstdc++-v3 * include/ext/atomicity.h 2009-04-22 13:13:55 +00:00
maintainer-scripts Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
zlib backport: Support GNU/kOpenSolaris. 2009-03-01 17:49:31 +00:00
ABOUT-NLS
ChangeLog * config.sub, config.guess: Update from upstream sources. 2009-04-17 21:41:32 +10:00
ChangeLog.tree-ssa
compile compile: Make executable. 2008-02-01 00:06:00 +00:00
config-ml.in config-ml.in: don't handle --enable-shared and --enable-static. 2008-05-14 17:15:51 +00:00
config.guess * config.sub, config.guess: Update from upstream sources. 2009-04-17 21:41:32 +10:00
config.rpath * config.rpath: Add AIX 6 support. 2008-03-13 14:55:20 -04:00
config.sub * config.sub, config.guess: Update from upstream sources. 2009-04-17 21:41:32 +10:00
configure configure.ac: Add moxie support. 2009-04-16 17:11:08 +00:00
configure.ac configure.ac: Add moxie support. 2009-04-16 17:11:08 +00:00
COPYING
COPYING.LIB
COPYING.RUNTIME Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
COPYING3
COPYING3.LIB
depcomp
install-sh
libtool-ldflags
libtool.m4 backport: Support GNU/kOpenSolaris. 2009-03-01 17:49:31 +00:00
ltgcc.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltmain.sh libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltoptions.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltsugar.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltversion.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
lt~obsolete.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
MAINTAINERS Update my email address. 2009-03-25 09:14:46 +01:00
Makefile.def configure.ac: Change copyright header to refer to version 3 of the GNU General Public License... 2009-04-14 10:50:26 +02:00
Makefile.in configure.ac: Change copyright header to refer to version 3 of the GNU General Public License... 2009-04-14 10:50:26 +02:00
Makefile.tpl configure.ac: Change copyright header to refer to version 3 of the GNU General Public License... 2009-04-14 10:50:26 +02:00
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.