re PR preprocessor/61817 (Inconsistent location of tokens in the expansion list…
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
Showing
gcc/testsuite/gcc.dg/pr61817-1.c
0 → 100644
gcc/testsuite/gcc.dg/pr61817-2.c
0 → 100644
gcc/testsuite/gcc.dg/pr69391-1.c
0 → 100644
gcc/testsuite/gcc.dg/pr69391-2.c
0 → 100644
Please
register
or
sign in
to comment