gcc/libcpp
Mukesh Kapoor 7d19c460ed re PR c++/80955 (Macros expanded in definition of user-defined literals)
/libcpp
2017-11-06  Mukesh Kapoor  <mukesh.kapoor@oracle.com>

	PR c++/80955
	* lex.c (lex_string): When checking for a valid macro for the
	warning related to -Wliteral-suffix (CPP_W_LITERAL_SUFFIX),
	check that the macro name does not start with an underscore
	before calling is_macro().

/gcc/testsuite
2017-11-06  Mukesh Kapoor  <mukesh.kapoor@oracle.com>

	PR c++/80955
	* g++.dg/cpp0x/udlit-macros.C: New.

From-SVN: r254443
2017-11-06 10:33:41 +00:00
..
include diagnostics: get rid of *_at_rich_loc in favor of overloading 2017-10-31 20:21:58 +00:00
po Regenerate .pot files. 2017-08-04 23:21:23 +01:00
ChangeLog re PR c++/80955 (Macros expanded in definition of user-defined literals) 2017-11-06 10:33:41 +00:00
ChangeLog.jit
Makefile.in
aclocal.m4
charset.c
config.in
configure
configure.ac
directives-only.c
directives.c diagnostics: get rid of *_at_rich_loc in favor of overloading 2017-10-31 20:21:58 +00:00
errors.c diagnostics: get rid of *_at_rich_loc in favor of overloading 2017-10-31 20:21:58 +00:00
expr.c invoke.texi: Document -std=c++17 and -std=gnu++17 and document c++1z and gnu++1z as deprecated. 2017-09-15 18:15:46 +02:00
files.c
identifiers.c
init.c Add -std=c17, -std=gnu17. 2017-10-30 12:17:40 +00:00
internal.h
lex.c re PR c++/80955 (Macros expanded in definition of user-defined literals) 2017-11-06 10:33:41 +00:00
line-map.c
location-example.txt
macro.c [PATCH] preprocessor stringizing raw strings 2017-10-10 18:56:31 +00:00
makeucnid.c
mkdeps.c
pch.c
symtab.c
system.h
traditional.c
ucnid.h
ucnid.tab