This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/20077] [4.0/4.1/4.2/4.3 Regression] GCC accepts macro definitions that fail a constraint
- From: "simartin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 May 2007 20:58:51 -0000
- Subject: [Bug preprocessor/20077] [4.0/4.1/4.2/4.3 Regression] GCC accepts macro definitions that fail a constraint
- References: <bug-20077-6@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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