From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9897 invoked by alias); 13 Jun 2005 05:27:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 9887 invoked by uid 48); 13 Jun 2005 05:27:45 -0000 Date: Mon, 13 Jun 2005 05:27:00 -0000 From: "s__nakayama at infoseek dot jp" To: gcc-bugs@gcc.gnu.org Message-ID: <20050613052744.22042.s__nakayama@infoseek.jp> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug preprocessor/22042] New: stringification BUG X-Bugzilla-Reason: CC X-SW-Source: 2005-06/txt/msg01717.txt.bz2 List-Id: // 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