From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18552 invoked by alias); 30 Aug 2015 21:25:09 -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 18515 invoked by uid 48); 30 Aug 2015 21:25:05 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/66765] gfortran passing fortran-specific options to ld and collect2 Date: Sun, 30 Aug 2015 21:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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-08/txt/msg02078.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66765 --- Comment #8 from Dominique d'Humieres --- > Any of the Fortran FE options appearing in a link command likely cause an error. Apparently it more complicated than that: [Book15] f90/bug% gcc ya_sincos.c -fdump-fortran-original cc1: error: unrecognized command line option '-fdump-fortran-original' but [Book15] f90/bug% gcc ya_sincos.c -fblah-blah gcc: error: unrecognized command line option '-fblah-blah' nothing to do with gfortran FE, and [Book15] f90/bug% gcc ya_sincos.c -fdefault-integer-8 cc1: warning: command line option '-fdefault-integer-8' is valid for Fortran but not for C