[Bug preprocessor/22042] stringification BUG

2005-07-09 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-09 18:32 --- The relevant part of the standard (C99: 6.10.3.2P2) Otherwise, the original spelling of each preprocessing token in the argument is retained in the character string literal, except for special handling for

[Bug preprocessor/22042] stringification BUG

2005-07-09 Thread s__nakayama at infoseek dot jp
--- Additional Comments From s__nakayama at infoseek dot jp 2005-07-09 18:23 --- (In reply to comment #4) > Huh? I cannot reproduce it at all. > with all of the versions of GCC I tried from 2.95.3 to 4.1.0 I get the following: > "\"\\\" \\\"\"" Did you confirm there was a tab in the

[Bug preprocessor/22042] stringification BUG

2005-07-09 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-09 16:29 --- Huh? I cannot reproduce it at all. with all of the versions of GCC I tried from 2.95.3 to 4.1.0 I get the following: "\"\\\" \\\"\"" -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22042

[Bug preprocessor/22042] stringification BUG

2005-06-23 Thread s__nakayama at infoseek dot jp
--- Additional Comments From s__nakayama at infoseek dot jp 2005-06-23 15:35 --- (In reply to comment #1) > I don't see why this is really a bug because if you output the string, it will look the same. NO! Your guess is wrong. I never report, if the output always looks the same. I wrot

[Bug preprocessor/22042] stringification BUG

2005-06-19 Thread s__nakayama at infoseek dot jp
-- What|Removed |Added Known to fail||3.0.4 3.2.3 3.3.3 3.3.6 ||3.4.4 4.0.0 Known to work|

[Bug preprocessor/22042] stringification BUG

2005-06-14 Thread s__nakayama at infoseek dot jp
--- Additional Comments From s__nakayama at infoseek dot jp 2005-06-14 07:20 --- (In reply to comment #1) Hmm, it does't look the same. // test code #define S(X) S2(X) #define S2(X) #X #define TAB " " /* 0x09 */ main() { puts(S(S(TAB))); } // GCC 4.0.0 result "\"\011\"" // GCC 2.

[Bug preprocessor/22042] stringification BUG

2005-06-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-13 12:36 --- I don't see why this is really a bug because if you output the string, it will look the same. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22042