From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1571 invoked by alias); 4 Nov 2005 00:05:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 1211 invoked by alias); 4 Nov 2005 00:05:39 -0000 Date: Fri, 04 Nov 2005 00:05:00 -0000 Message-ID: <20051104000539.1210.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug preprocessor/22042] [3.4/4.0/4.1 Regression] stringification BUG In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "joseph at codesourcery dot com" X-SW-Source: 2005-11/txt/msg00547.txt.bz2 List-Id: ------- Comment #16 from joseph at codesourcery dot com 2005-11-04 00:05 ------- Subject: Re: [3.4/4.0/4.1 Regression] stringification BUG On Thu, 3 Nov 2005, mmitchel at gcc dot gnu dot org wrote: > Joseph, you're probably the person who best understands the behavior required > by the standard. > > Since Per writes: > > "I don't know enough about fine points of the standard to say what is > right. If you and Andrew think it is right, I'm ok with it." > > would you mind reviewing the patch? Andrew, if Joseph approves the patch, it > is OK. Except for some laxity in the handling of UCNs (for C but not for C++) the standards exactly define how the spelling of a token translates into the spelling of the result of applying # to it, and there is nothing to allow the conversion to octal; this patch is correct. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22042