gcc/libcpp
Jonathan Wakely b44f8ad8b2 PR preprocessor/84517 allow double-underscore macros after string literals
gcc/testsuite:

	PR preprocessor/84517
	* g++.dg/cpp0x/udlit-macros.C: Expect a warning for ""__FILE__.

libcpp:

	PR preprocessor/84517
	* lex.c (is_macro_not_literal_suffix): New function.
	(lex_raw_string, lex_string): Use is_macro_not_literal_suffix to
	decide when to issue -Wliteral-suffix warnings.

From-SVN: r258069
2018-02-28 15:27:17 +00:00
..
include c-cppbuiltin.c (c_cpp_builtins): Use ggc_strdup for the fp_suffix argument. 2018-01-27 07:27:47 +01:00
po * ru.po: Update. 2018-02-04 14:01:51 +00:00
aclocal.m4
ChangeLog PR preprocessor/84517 allow double-underscore macros after string literals 2018-02-28 15:27:17 +00:00
ChangeLog.jit
charset.c Update copyright years. 2018-01-03 11:03:58 +01:00
config.in re PR bootstrap/72823 (r239175 causes build failure) 2016-11-16 21:10:27 +01:00
configure re PR bootstrap/72823 (r239175 causes build failure) 2016-11-16 21:10:27 +01:00
configure.ac re PR bootstrap/72823 (r239175 causes build failure) 2016-11-16 21:10:27 +01:00
directives-only.c Update copyright years. 2018-01-03 11:03:58 +01:00
directives.c Update copyright years. 2018-01-03 11:03:58 +01:00
errors.c Update copyright years. 2018-01-03 11:03:58 +01:00
expr.c Update copyright years. 2018-01-03 11:03:58 +01:00
files.c Update copyright years. 2018-01-03 11:03:58 +01:00
identifiers.c Update copyright years. 2018-01-03 11:03:58 +01:00
init.c Update copyright years. 2018-01-03 11:03:58 +01:00
internal.h Update copyright years. 2018-01-03 11:03:58 +01:00
lex.c PR preprocessor/84517 allow double-underscore macros after string literals 2018-02-28 15:27:17 +00:00
line-map.c re PR bootstrap/82939 (genmatch fills up terminal with endless printing of periods) 2018-02-16 12:02:34 +00:00
location-example.txt
macro.c PR preprocessor/83063 - __VA_OPT__ and ## 2018-02-15 12:43:01 -05:00
Makefile.in Update copyright years. 2018-01-03 11:03:58 +01:00
makeucnid.c Update copyright years. 2018-01-03 11:03:58 +01:00
mkdeps.c Update copyright years. 2018-01-03 11:03:58 +01:00
pch.c Update copyright years. 2018-01-03 11:03:58 +01:00
symtab.c Update copyright years. 2018-01-03 11:03:58 +01:00
system.h Update copyright years. 2018-01-03 11:03:58 +01:00
traditional.c re PR preprocessor/69869 (internal compiler error: Segmentation fault in call to skip_macro_block_comment when using '-traditional-cpp') 2018-01-31 09:31:52 +01:00
ucnid.h Update copyright years. 2018-01-03 11:03:58 +01:00
ucnid.tab Update copyright years. 2018-01-03 11:03:58 +01:00