[PATCH] D106428: [flang][driver] Make `flang` ignore `-Mfree/-Mfixed`
Andrzej Warzynski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 27 05:13:35 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGcad2affb7892: [flang][driver] Make `flang` ignore `-Mfree/-Mfixed` (authored by awarzynski).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106428/new/
https://reviews.llvm.org/D106428
Files:
flang/tools/f18/flang.in
Index: flang/tools/f18/flang.in
===================================================================
--- flang/tools/f18/flang.in
+++ flang/tools/f18/flang.in
@@ -210,6 +210,12 @@
[[ $opt =~ ^-U.* ]] ||
[[ $opt == "-Werror" ]]; then
flang_opts+=($opt)
+ elif
+ # These options are not supported by `flang-new`. There is also no point
+ # in forwarding them to the host compiler as the output from
+ # `-fdebug-unparse` will always be in free form.
+ [[ $opt == "-Mfixed" ]] || [[ $opt == "-Mfree" ]]; then
+ :
elif [[ $opt =~ -I.* ]] || [[ $opt =~ -J.* ]]; then
# Options that are needed for both Flang and the external driver.
flang_opts+=($opt)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106428.361987.patch
Type: text/x-patch
Size: 714 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210727/1b5728d2/attachment.bin>
More information about the llvm-commits
mailing list