On Mon, Feb 02, 2015 at 03:41:50PM +0100, Dodji Seketeli wrote:
> libcpp/ChangeLog:
>
> * internal.h (cpp_reader::top_most_macro_node): New data member.
> * macro.c (enter_macro_context): Pass the location of the end of
> the top-most invocation of the function-like macro, or the
> location of the expansion point of the top-most object-like macro.
> (cpp_get_token_1): Store the top-most macro node in the new
> pfile->top_most_macro_node data member.
> (_cpp_pop_context): Clear the new cpp_reader::top_most_macro_node
> data member.
>
> gcc/testsuite/ChangeLog:
>
> * gcc.dg/cpp/builtin-macro-1.c: New test case.
Ok, thanks.
Jakub