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 regression] Bad diagnostic pasting tokens with ##



------- Comment #14 from jakub at gcc dot gnu dot org  2007-06-26 11:44 -------
Subject: Bug 28709

Author: jakub
Date: Tue Jun 26 11:43:50 2007
New Revision: 126021

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126021
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:
    branches/redhat/gcc-4_1-branch/gcc/testsuite/gcc.dg/cpp/paste14.c
Modified:
    branches/redhat/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/redhat/gcc-4_1-branch/libcpp/ChangeLog
    branches/redhat/gcc-4_1-branch/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]