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>
The flang shell script is the throwaway driver. The new driver will behave more like clang.
Fixed by https://reviews.llvm.org/rGb11c52781635bd871abd6d932cfd5dcd6f311903 anyhow.