This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/22042] [3.4/4.0/4.1 Regression] stringification BUG
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Nov 2005 00:05:39 -0000
- Subject: [Bug preprocessor/22042] [3.4/4.0/4.1 Regression] stringification BUG
- References: <bug-22042-10812@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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