File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 1+ -Werror
Original file line number Diff line number Diff line change 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
22! 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
3+ ! RUN: env FCC_OVERRIDE_OPTIONS="x-Werror" %flang --config=%S/Inputs/config-7.cfg -### %s -c 2>&1 | FileCheck %s -check-prefix=CONF
34
45! CHECK: "-fc1"
56! CHECK-NOT: "-Oignore"
1011! RM-WERROR-NEXT: ### Deleting argument -Werror
1112! RM-WERROR-NEXT: ### Adding argument -g at end
1213! RM-WERROR-NOT: "-Werror"
14+
15+ ! Test that FCC_OVERRIDE_OPTIONS does not affect the options from config files.
16+ ! CONF: ### FCC_OVERRIDE_OPTIONS: x-Werror
17+ ! CONF: "-Werror"
You can’t perform that action at this time.
0 commit comments