From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9724 invoked by alias); 21 Mar 2002 03:56:04 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 9672 invoked by uid 71); 21 Mar 2002 03:56:01 -0000 Resent-Date: 21 Mar 2002 03:56:01 -0000 Resent-Message-ID: <20020321035601.9671.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, mrs@wrs.com Received:(qmail 3581 invoked by uid 61); 21 Mar 2002 03:47:49 -0000 Message-Id:<20020321034749.3580.qmail@sources.redhat.com> Date: Wed, 20 Mar 2002 19:56:00 -0000 From: mrs@wrs.com Reply-To: mrs@wrs.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: preprocessor/6021: \^M handling wrong when not followed by ^J X-SW-Source: 2002-03/txt/msg00782.txt.bz2 List-Id: >Number: 6021 >Category: preprocessor >Synopsis: \^M handling wrong when not followed by ^J >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Mar 20 19:56:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Mike Stump >Release: unknown-1.0 >Organization: >Environment: top of tree, gcc version 3.2 20020318 (experimental) >Description: \^M should not advance the line count. Only \^M^J should. I like the handling of \^M, leave it alone. The output for the testcase should be: char c; char c; char c; int bye; The reason for this might be somewhat obscure, but if you fire up up an ASR 33, and try it out, you'll see why. >How-To-Repeat: $ ~/net/gcc-sol/gcc/xgcc -B$HOME//net/gcc-sol/gcc/ -E t.c | cat -v char c; char c; char c; int bye; and the source: $ cat -v t.c ch\^Mar c; ch\^Mar c; ch\^Mar c; int bye; >Fix: >Release-Note: >Audit-Trail: >Unformatted: