From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 95493 invoked by alias); 11 Mar 2015 17:11:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 95432 invoked by uid 48); 11 Mar 2015 17:11:10 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/65387] [4.8/4.9/5 Regression] cpp -C emits extraneous comment header on every file Date: Wed, 11 Mar 2015 17:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-03/txt/msg01236.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65387 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jakub at gcc dot gnu.org Resolution|--- |INVALID --- Comment #4 from Jakub Jelinek --- Well, IMHO if you do not want comments or are not prepared to handle them, just don't use -C. Fortran these days has integrated preprocessor, I doubt fpp would be of any use and you'd need to define how exactly should "fortran" preprocessing behave (e.g. how it is different from assembly preprocessing). Note that even -E -xassembler-with-cpp preprocessing includes stdc-predef.h by default, you need to use -nostdinc to avoid that. In any case, not a bug IMHO.