This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/22042] stringification BUG


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]