This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/48532] Wrong location of namespaced pragma involving macros


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48532

--- Comment #2 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-06-06 11:33:45 UTC ---
Author: dodji
Date: Mon Jun  6 11:33:42 2011
New Revision: 174694

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174694
Log:
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.

Added:
    trunk/gcc/testsuite/gcc.dg/cpp/pragma-3.c
Modified:
    trunk/libcpp/ChangeLog
    trunk/libcpp/directives.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]