[flang] Fix flang (the bash wrapper script for the Flang driver)

Remove erroneous `||` at the end of an `if` condition. This was
introduced in https://reviews.llvm.org/D106871.
This commit is contained in:
Andrzej Warzynski 2021-07-30 08:59:13 +01:00
parent 3a349d2269
commit 1a7ed9561a

View file

@ -219,8 +219,7 @@ categorise_opts()
[[ $opt =~ -I.* ]] ||
[[ $opt =~ -J.* ]] ||
[[ $opt == "-fopenmp" ]] ||
[[ $opt == "-fopenacc" ]] ||
; then
[[ $opt == "-fopenacc" ]]; then
flang_opts+=($opt)
fc_opts+=($opt)
else