Skip to content

Commit 7dd5ba6

Browse files
banach-spacememfrob
authored andcommitted
[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.
1 parent d11a9dd commit 7dd5ba6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

flang/tools/f18/flang.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,7 @@ categorise_opts()
219219
[[ $opt =~ -I.* ]] ||
220220
[[ $opt =~ -J.* ]] ||
221221
[[ $opt == "-fopenmp" ]] ||
222-
[[ $opt == "-fopenacc" ]] ||
223-
; then
222+
[[ $opt == "-fopenacc" ]]; then
224223
flang_opts+=($opt)
225224
fc_opts+=($opt)
226225
else

0 commit comments

Comments
 (0)