[llvm-bugs] [Bug 46017] New: flang does not provide --version option

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 21 06:38:29 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=46017

            Bug ID: 46017
           Summary: flang does not provide --version option
           Product: flang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedbugs at nondot.org
          Reporter: balay at mcs.anl.gov
                CC: David.Truby at arm.com, jperier at nvidia.com,
                    kirankumartp at gmail.com, llvm-bugs at lists.llvm.org,
                    sscalpone at nvidia.com

Please add --version option to flang. Currently it just hangs waiting for stdin

This breaks configure scripts that run compilers with --version option [all
currently known compilers either provide the version info - or giver error
message - not hang]

[balay at pj01 ~]$ clang --version
clang version 11.0.0 (https://github.com/llvm/llvm-project.git
5c3ebd77259d8438663a3abe334a80a7ddf5caef)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/balay/soft/llvm-dev/bin
[balay at pj01 ~]$ flang --version
<hang>

-- 
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/20200521/b8d7b27f/attachment.html>


More information about the llvm-bugs mailing list