[LLVMbugs] [Bug 22234] New: "-fsyntax-only hello.f90" fails

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 14 15:26:26 PST 2015


            Bug ID: 22234
           Summary: "-fsyntax-only hello.f90" fails
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nlewycky at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Clang supports handing fortran code off to another compiler. However, it gets
confused when -fsyntax-only is applied:

$ clang -fsyntax-only hello.f90
clang: error: invalid output type 'none' for use with gcc tool

This becomes especially useful when you use it with -J to build fortran
modules, "clang -fsyntax-only somefortran.f90 -J moduledir". Clang already
knows to pass along the -J flag.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150114/23f033dd/attachment.html>

More information about the llvm-bugs mailing list