This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/20943] New: Valid option produces warning


The following command line produces a warning even if it behaves correctly

[/Users/fca] cat bug.F
        subroutine bug_bug
        end
[/Users/fca] /opt/gcc-4_0/bin/gfortran -c bug.F ; nm bug.o
00000000 T _bug_bug__
[/Users/fca] /opt/gcc-4_0/bin/gfortran -fno-second-underscore -c bug.F ; nm bug.o
cc1: warning: command line option "-fno-second-underscore" is valid for F95 but not for C
00000000 T _bug_bug_

-- 
           Summary: Valid option produces warning
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: federico dot carminati at cern dot ch
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: powerpc-apple-darwin7.8.0
GCC target triplet: powerpc-apple-darwin7.8.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20943


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]