PR c/61861
commit2e82cf2c6076fa6cf9a23ba5b58b9be5f97a10a2
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 27 Jul 2014 17:09:38 +0000 (27 17:09 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 27 Jul 2014 17:09:38 +0000 (27 17:09 +0000)
tree820f36cafea197aafe4a4a9b0925081fe2507eac
parentab0c4d2eb2f6ebde5e397ab479f7a955d62e6106
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213102 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr61861.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/macro.c