]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
re PR c/61861 (Incorrect column number for -Wdiscarded-qualifiers)
authorMarek Polacek <polacek@redhat.com>
Sun, 27 Jul 2014 17:09:38 +0000 (17:09 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Sun, 27 Jul 2014 17:09:38 +0000 (17:09 +0000)
commit61eb99f6cc4a1deed034cca72870a21d340d5aa2
tree820f36cafea197aafe4a4a9b0925081fe2507eac
parent17522262ead9bae03bf6d21cc2b1e7a02ef60c60
re PR c/61861 (Incorrect column number for -Wdiscarded-qualifiers)

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.

From-SVN: r213102
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr61861.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/macro.c