[PATCH] D118618: [flang] Fix invalid diagnostics in wrapper and reduce code dup.

Yury Gribov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 2 04:16:00 PST 2022


ygribov added inline comments.


================
Comment at: flang/tools/f18/flang:319
-    then status=$?
-         echo flang: in "$PWD", flang-new failed with exit status $status: "$wd/bin/flang-new" "${opts[@]}" "$@" >&2
-         exit $status
----------------
awarzynski wrote:
> This seems to be the only place in which the diagnostic is inconsistent with the compiler invocation (should be `$ect_fc` instead of `"$wd/bin/flang-new"`).
Not quite, I believe command-line arguments are wrong in practically all invocations...


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118618/new/

https://reviews.llvm.org/D118618



More information about the llvm-commits mailing list