public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/22042] New: stringification BUG
@ 2005-06-13  5:27 s__nakayama at infoseek dot jp
  2005-07-13 13:13 ` [Bug preprocessor/22042] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: s__nakayama at infoseek dot jp @ 2005-06-13  5:27 UTC (permalink / raw)
  To: gcc-bugs

// test code
#define S(X) S2(X)
#define S2(X) #X
#define TAB "	" /* 0x09 */

S(S(TAB))


// gcc -E -P OUTPUT

"\"\\\"\\011\\\"\""

// expected result

"\"\\\"	\\\"\""


GCC # preprocessing operator converts the non-printable characters to octal.
But this behavior is non standard.

-- 
           Summary: stringification BUG
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: s__nakayama at infoseek dot jp
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22042


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2005-11-04  0:28 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [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
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
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
2005-11-04  0:28 ` pinskia at gcc dot gnu dot org
2005-11-04  0:28 ` pinskia at gcc dot gnu dot org
2005-06-13  5:27 [Bug preprocessor/22042] New: " s__nakayama at infoseek dot jp
2005-07-13 13:13 ` [Bug preprocessor/22042] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-07-22 21:18 ` pinskia at gcc dot gnu dot org
2005-09-27 16:13 ` mmitchel at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).