gcc/libcpp
Richard Henderson 64824205cc re PR preprocessor/61817 (Inconsistent location of tokens in the expansion list of a built-in macro)
PR preprocessor/61817
PR preprocessor/69391

  * internal.h (_cpp_builtin_macro_text): Update decl.
  * macro.c (_cpp_builtin_macro_text): Accept location for __LINE__.
  (builtin_macro): Accept a second location for __LINE__.
  (enter_macro_context): Compute both virtual and real expansion
  locations for the macro.

  * gcc.dg/pr61817-1.c: New test.
  * gcc.dg/pr61817-2.c: New test.
  * gcc.dg/pr69391-1.c: New test.
  * gcc.dg/pr69391-2.c: New test.

From-SVN: r234794
2016-04-06 11:35:16 -07:00
..
include re PR target/70296 (Incorrect handling of vector X; if X is function-like macro) 2016-03-21 16:41:13 +01:00
po * da.po: Update. 2016-03-30 18:52:59 +01:00
aclocal.m4
ChangeLog re PR preprocessor/61817 (Inconsistent location of tokens in the expansion list of a built-in macro) 2016-04-06 11:35:16 -07:00
ChangeLog.jit
charset.c
config.in
configure
configure.ac
directives-only.c
directives.c re PR preprocessor/69650 (ICE in linemap_line_start, at libcpp/line-map.c:803) 2016-03-25 10:15:39 -06:00
errors.c
expr.c expr.c (cpp_classify_number): Hex floats are new in C++1z. 2016-03-15 08:08:31 -04:00
files.c
identifiers.c
init.c expr.c (cpp_classify_number): Hex floats are new in C++1z. 2016-03-15 08:08:31 -04:00
internal.h re PR preprocessor/61817 (Inconsistent location of tokens in the expansion list of a built-in macro) 2016-04-06 11:35:16 -07:00
lex.c
line-map.c re PR preprocessor/69650 (ICE in linemap_line_start, at libcpp/line-map.c:803) 2016-03-25 10:15:39 -06:00
location-example.txt
macro.c re PR preprocessor/61817 (Inconsistent location of tokens in the expansion list of a built-in macro) 2016-04-06 11:35:16 -07:00
Makefile.in
makeucnid.c
mkdeps.c
pch.c
symtab.c
system.h
traditional.c
ucnid.h
ucnid.tab