From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9176 invoked by alias); 6 Jan 2002 13:16: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 9142 invoked by uid 71); 6 Jan 2002 13:16:02 -0000 Resent-Date: 6 Jan 2002 13:16:02 -0000 Resent-Message-ID: <20020106131602.9138.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, schnetter@uni-tuebingen.de Received:(qmail 8000 invoked from network); 6 Jan 2002 13:09:10 -0000 Received: from unknown (HELO lilypond.tat.physik.uni-tuebingen.de) (80.131.83.112) by sources.redhat.com with SMTP; 6 Jan 2002 13:09:10 -0000 Received: (from eschnett@localhost) by lilypond.tat.physik.uni-tuebingen.de (8.11.6/8.11.6/SuSE Linux 0.5) id g06D93t14025; Sun, 6 Jan 2002 14:09:03 +0100 Message-Id:<200201061309.g06D93t14025@lilypond.tat.physik.uni-tuebingen.de> Date: Sun, 06 Jan 2002 05:16:00 -0000 From: schnetter@uni-tuebingen.de To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:3.113 Subject: preprocessor/5289: "cpp -traditional" inserts spurious line breaks X-SW-Source: 2002-01/txt/msg00259.txt.bz2 List-Id: >Number: 5289 >Category: preprocessor >Synopsis: "cpp -traditional" inserts spurious line breaks >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: wrong-code >Submitter-Id: net >Arrival-Date: Sun Jan 06 05:16:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Erik Schnetter >Release: 3.0.3 >Organization: Theoretische Astrophysik Tuebingen >Environment: System: Linux lilypond 2.4.10-4GB #1 Tue Sep 25 12:33:54 GMT 2001 i686 unknown Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: ../gcc-3.0.3/configure --prefix=/home/eschnett/gcc >Description: I use cpp to preprocess Fortran 77 code. I call cpp as "cpp -traditional", and I find that cpp inserts spurious line breaks under certain circumstances. cpp from gcc 2.95.3 works fine under the same circumstances. >How-To-Repeat: The following three lines of source code (the first line ends with the backslash) (note the second, empty line) #define a b\ (a) get wrongly preprocessed into the three lines (b ) I think that the result should consist of two lines only, namely (b) without the line break before the closing paren. The above constellation appears in automatically generated code. >Fix: >Release-Note: >Audit-Trail: >Unformatted: