[Bug preprocessor/20077] [4.0/4.1/4.2/4.3 Regression] GCC accepts macro definitions that fail a constraint

simartin at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed May 23 20:59:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list