[Bug preprocessor/22042] stringification BUG
s__nakayama at infoseek dot jp
gcc-bugzilla@gcc.gnu.org
Tue Jun 14 07:21:00 GMT 2005
------- 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.95.3 result(expected result)
"\" \""
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22042
More information about the Gcc-bugs
mailing list