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: unassignedb...@nondot.org
          Reporter: ba...@mcs.anl.gov
                CC: david.tr...@arm.com, jper...@nvidia.com,
                    kirankuma...@gmail.com, llvm-bugs@lists.llvm.org,
                    sscalp...@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@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@pj01 ~]$ flang --version
<hang>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to