https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61861
--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Sun Jul 27 17:09:38 2014 New Revision: 213102 URL: https://gcc.gnu.org/viewcvs?rev=213102&root=gcc&view=rev Log: PR c/61861 * macro.c (builtin_macro): Add location parameter. Set location of builtin macro to the expansion point. (enter_macro_context): Pass location to builtin_macro. * gcc.dg/pr61861.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr61861.c Modified: trunk/gcc/testsuite/ChangeLog trunk/libcpp/ChangeLog trunk/libcpp/macro.c