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/28709] [4.0/4.1/4.2 regression] Bad diagnostic pasting tokens with ##



------- Comment #2 from jakub at gcc dot gnu dot org  2006-10-12 09:26 -------
Subject: Bug 28709

Author: jakub
Date: Thu Oct 12 09:25:59 2006
New Revision: 117664

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117664
Log:
        PR preprocessor/28709
        * macro.c (paste_tokens): Do error reporting here, use BUF with the
        spelled LHS token as opposed to spelling it again.
        (paste_all_tokens): Don't report errors here, just break on failure.

        * gcc.dg/cpp/paste14.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/cpp/paste14.c
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/libcpp/ChangeLog
    trunk/libcpp/macro.c


-- 


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


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