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/20077] [4.0/4.1/4.2/4.3 Regression] GCC accepts macro definitions that fail a constraint



------- Comment #7 from simartin at gcc dot gnu dot org  2007-05-23 21:58 -------
Subject: Bug 20077

Author: simartin
Date: Wed May 23 20:58:34 2007
New Revision: 125000

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125000
Log:
2007-05-23  Simon Martin  <simartin@users.sourceforge.net>

        PR preprocessor/20077
        * macro.c (create_iso_definition): Fixed the method to determine
whether
        the token-pasting operator appears at the beginning or the end of a
macro.

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


-- 


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


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