[LLVMbugs] [Bug 14338] New: clang tries to compile fortran itself

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 13 23:29:21 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=14338

             Bug #: 14338
           Summary: clang tries to compile fortran itself
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nlewycky at google.com
                CC: bob.wilson at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


This is a recent regression:

$ clang -x f95 foo.f
error: invalid value 'f95' in '-x f95'
$ clang -x f94 foo.f
clang: error: language not recognized: 'f94'

The second error is emitted by clang. The first one is emitted by clang -cc1,
which really shouldn't happen. We ought to run gcc on fortran files.

Bob, I'm suspicious of your r167567 and thought you might like to take a look.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list