Skip to content

Commit db45474

Browse files
committed
Handle review comments.
1 parent 9faf4d3 commit db45474

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

flang/docs/FlangDriver.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -618,10 +618,10 @@ nvfortran defines `-fast` as
618618

619619
## FCC_OVERRIDE_OPTIONS
620620

621-
The environment variable `FCC_OVERRIDE_OPTIONS` can be used to apply a list of
622-
edits to the input argument lists. The value of this environment variable is
623-
a space separated list of edits to perform. These edits are applied in order to
624-
the input argument lists. Edits should be one of the following forms:
621+
The environment variable `FCC_OVERRIDE_OPTIONS` can be used to edit flang's
622+
command line arguments. The value of this variable is a space-separated list of
623+
edits to perform. The edits are applied in the order in which they appear in
624+
`FCC_OVERRIDE_OPTIONS`. Each edit should be one of the following forms:
625625

626626
- `#`: Silence information about the changes to the command line arguments.
627627

flang/test/Driver/fcc_override.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
! RUN: env FCC_OVERRIDE_OPTIONS="#+-Os +-Oz +-O +-O3 +-Oignore +a +b +c xb Xa Omagic ^-### " %flang -target x86_64-unknown-linux-gnu %s -O2 b -O3 2>&1 | FileCheck %s
2-
! RUN: env FCC_OVERRIDE_OPTIONS="x-Werror +-g" %flang -target x86_64-unknown-linux-gnu -Werror %s -c -### 2>&1 | FileCheck %s -check-prefix=RM-WERROR
2+
! RUN: env FCC_OVERRIDE_OPTIONS="x-Werror +-g" %flang --target=x86_64-unknown-linux-gnu -Werror %s -c -### 2>&1 | FileCheck %s -check-prefix=RM-WERROR
33
! RUN: env FCC_OVERRIDE_OPTIONS="x-Werror" %flang --config=%S/Inputs/config-7.cfg -### %s -c 2>&1 | FileCheck %s -check-prefix=CONF
44

55
! CHECK: "-fc1"

0 commit comments

Comments
 (0)