diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2018-02-28 15:27:17 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2018-02-28 15:27:17 +0000 |
commit | b44f8ad8b2138f7bfd68053e8dce596adb964735 (patch) | |
tree | 598aa26af298bebfa086b251ff514b8dd08b82b2 /gcc/graphite-scop-detection.c | |
parent | c6db43fa35b9d98d0eaa49bb9243e99aada49670 (diff) | |
download | gcc-b44f8ad8b2138f7bfd68053e8dce596adb964735.zip gcc-b44f8ad8b2138f7bfd68053e8dce596adb964735.tar.gz gcc-b44f8ad8b2138f7bfd68053e8dce596adb964735.tar.bz2 |
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
Diffstat (limited to 'gcc/graphite-scop-detection.c')
0 files changed, 0 insertions, 0 deletions