re PR preprocessor/48532 (Wrong location of namespaced pragma involving macros)
authorDodji Seketeli <dodji@redhat.com>
Mon, 6 Jun 2011 11:33:42 +0000 (11:33 +0000)
committerDodji Seketeli <dodji@gcc.gnu.org>
Mon, 6 Jun 2011 11:33:42 +0000 (13:33 +0200)
commit38fbfaf6fb23fdcd130cc524839686b9ad28f752
tree3c306927913661e1e914dc99031a45c1684aaff8
parent3bfc61cf25241bdcf7aad08c1e2b6607d25f97bb
re PR preprocessor/48532 (Wrong location of namespaced pragma involving macros)

PR preprocessor/48532

libcpp/

* directives.c (do_pragma): Don't forget the invocation location
when parsing the pragma name of a namespaced pragma directive.

gcc/testsuite/

* gcc.dg/cpp/pragma-3.c: New test case.

From-SVN: r174694
gcc/testsuite/gcc.dg/cpp/pragma-3.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/directives.c