* [Bug preprocessor/22042] [3.4/4.0/4.1 Regression] stringification BUG
[not found] <bug-22042-10812@http.gcc.gnu.org/bugzilla/>
@ 2005-10-17 9:29 ` steven at gcc dot gnu dot org
2005-10-17 23:02 ` pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
11 siblings, 0 replies; 15+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-10-17 9:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from steven at gcc dot gnu dot org 2005-10-17 09:29 -------
What is the deal here? Is there a bug, or not? If so, can someone
confirm the bug, and otherwise close it as invalid?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22042
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug preprocessor/22042] [3.4/4.0/4.1 Regression] stringification BUG
[not found] <bug-22042-10812@http.gcc.gnu.org/bugzilla/>
2005-10-17 9:29 ` [Bug preprocessor/22042] [3.4/4.0/4.1 Regression] stringification BUG steven at gcc dot gnu dot org
@ 2005-10-17 23:02 ` pinskia at gcc dot gnu dot org
2005-10-18 23:39 ` pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
11 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-17 23:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from pinskia at gcc dot gnu dot org 2005-10-17 23:02 -------
Confirmed a bug by Neil Booth on IRC. This sounds like this was added by Zack
too.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2005-10-17 23:02:10
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22042
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug preprocessor/22042] [3.4/4.0/4.1 Regression] stringification BUG
[not found] <bug-22042-10812@http.gcc.gnu.org/bugzilla/>
2005-10-17 9:29 ` [Bug preprocessor/22042] [3.4/4.0/4.1 Regression] stringification BUG steven at gcc dot gnu dot org
2005-10-17 23:02 ` pinskia at gcc dot gnu dot org
@ 2005-10-18 23:39 ` pinskia at gcc dot gnu dot org
2005-10-22 21:53 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
11 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-18 23:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from pinskia at gcc dot gnu dot org 2005-10-18 23:39 -------
I have a fix for the preprocessor which I need to test.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22042
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug preprocessor/22042] [3.4/4.0/4.1 Regression] stringification BUG
[not found] <bug-22042-10812@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2005-10-18 23:39 ` pinskia at gcc dot gnu dot org
@ 2005-10-22 21:53 ` pinskia at gcc dot gnu dot org
2005-10-27 14:33 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-22 21:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from pinskia at gcc dot gnu dot org 2005-10-22 21:53 -------
Sorry but my machine went bonkers and I cannot submit this.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|pinskia at gcc dot gnu dot |unassigned at gcc dot gnu
|org |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22042
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug preprocessor/22042] [3.4/4.0/4.1 Regression] stringification BUG
[not found] <bug-22042-10812@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2005-10-22 21:53 ` pinskia at gcc dot gnu dot org
@ 2005-10-27 14:33 ` pinskia at gcc dot gnu dot org
2005-10-27 19:37 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-27 14:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from pinskia at gcc dot gnu dot org 2005-10-27 14:33 -------
I will relook at this and post it soon.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22042
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug preprocessor/22042] [3.4/4.0/4.1 Regression] stringification BUG
[not found] <bug-22042-10812@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2005-10-27 14:33 ` pinskia at gcc dot gnu dot org
@ 2005-10-27 19:37 ` pinskia at gcc dot gnu dot org
2005-10-31 3:46 ` mmitchel at gcc dot gnu dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-27 19:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from pinskia at gcc dot gnu dot org 2005-10-27 19:36 -------
Patch submitted: <http://gcc.gnu.org/ml/gcc-patches/2005-10/msg01583.html>.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2005-
| |10/msg01583.html
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22042
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug preprocessor/22042] [3.4/4.0/4.1 Regression] stringification BUG
[not found] <bug-22042-10812@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2005-10-27 19:37 ` pinskia at gcc dot gnu dot org
@ 2005-10-31 3:46 ` mmitchel at gcc dot gnu dot org
2005-11-03 23:49 ` mmitchel at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-31 3:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from mmitchel at gcc dot gnu dot org 2005-10-31 03:46 -------
Leaving as P2.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22042
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug preprocessor/22042] [3.4/4.0/4.1 Regression] stringification BUG
[not found] <bug-22042-10812@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2005-10-31 3:46 ` mmitchel at gcc dot gnu dot org
@ 2005-11-03 23:49 ` mmitchel at gcc dot gnu dot org
2005-11-04 0:05 ` joseph at codesourcery dot com
` (3 subsequent siblings)
11 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-11-03 23:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from mmitchel at gcc dot gnu dot org 2005-11-03 23:49 -------
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.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |joseph at codesourcery dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22042
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug preprocessor/22042] [3.4/4.0/4.1 Regression] stringification BUG
[not found] <bug-22042-10812@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2005-11-03 23:49 ` mmitchel at gcc dot gnu dot org
@ 2005-11-04 0:05 ` joseph at codesourcery dot com
2005-11-04 0:23 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 15+ messages in thread
From: joseph at codesourcery dot com @ 2005-11-04 0:05 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug preprocessor/22042] [3.4/4.0/4.1 Regression] stringification BUG
[not found] <bug-22042-10812@http.gcc.gnu.org/bugzilla/>
` (8 preceding siblings ...)
2005-11-04 0:05 ` joseph at codesourcery dot com
@ 2005-11-04 0:23 ` pinskia at gcc dot gnu dot org
2005-11-04 0:28 ` pinskia at gcc dot gnu dot org
2005-11-04 0:28 ` pinskia at gcc dot gnu dot org
11 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-04 0:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from pinskia at gcc dot gnu dot org 2005-11-04 00:23 -------
Subject: Bug 22042
Author: pinskia
Date: Fri Nov 4 00:23:01 2005
New Revision: 106463
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106463
Log:
2005-11-03 Andrew Pinski <pinskia@physics.uc.edu>
PR preprocessor/22042
* macro.c (_cpp_builtin_macro_text): Lower the needed max
buffer size.
(cpp_quote_string): Don't octalify non printable
charactors.
2005-11-03 Andrew Pinski <pinskia@physics.uc.edu>
PR preprocessor/22042
* gcc.dg/cpp/strify4.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/cpp/strify4.c
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libcpp/ChangeLog
trunk/libcpp/macro.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22042
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug preprocessor/22042] [3.4/4.0/4.1 Regression] stringification BUG
[not found] <bug-22042-10812@http.gcc.gnu.org/bugzilla/>
` (9 preceding siblings ...)
2005-11-04 0:23 ` pinskia at gcc dot gnu dot org
@ 2005-11-04 0:28 ` pinskia at gcc dot gnu dot org
2005-11-04 0:28 ` pinskia at gcc dot gnu dot org
11 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-04 0:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #18 from pinskia at gcc dot gnu dot org 2005-11-04 00:28 -------
Fixed in 4.0.3.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22042
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug preprocessor/22042] [3.4/4.0/4.1 Regression] stringification BUG
[not found] <bug-22042-10812@http.gcc.gnu.org/bugzilla/>
` (10 preceding siblings ...)
2005-11-04 0:28 ` pinskia at gcc dot gnu dot org
@ 2005-11-04 0:28 ` pinskia at gcc dot gnu dot org
11 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-04 0:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #19 from pinskia at gcc dot gnu dot org 2005-11-04 00:28 -------
Subject: Bug 22042
Author: pinskia
Date: Fri Nov 4 00:28:39 2005
New Revision: 106465
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106465
Log:
2005-11-03 Andrew Pinski <pinskia@physics.uc.edu>
PR preprocessor/22042
* macro.c (_cpp_builtin_macro_text): Lower the needed max
buffer size.
(cpp_quote_string): Don't octalify non printable
charactors.
2005-11-03 Andrew Pinski <pinskia@physics.uc.edu>
PR preprocessor/22042
* gcc.dg/cpp/strify4.c: New test.
Added:
branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/cpp/strify4.c
- copied unchanged from r106463, trunk/gcc/testsuite/gcc.dg/cpp/strify4.c
Modified:
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
branches/gcc-4_0-branch/libcpp/ChangeLog
branches/gcc-4_0-branch/libcpp/macro.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22042
^ permalink raw reply [flat|nested] 15+ messages in thread