flang/test/Driver/flang-f-opts.f90
raw| 1 | ! Test for warnings generated when parsing driver options. You can use this file for relatively small tests and to avoid creating |
| 2 | ! new test files. |
| 3 | |
| 4 | ! RUN: %flang -### -S -O4 -ffp-contract=on %s 2>&1 | FileCheck %s |
| 5 | |
| 6 | ! CHECK: warning: the argument 'on' is not supported for option 'ffp-contract='. Mapping to 'ffp-contract=off' |
| 7 | ! CHECK: warning: -O4 is equivalent to -O3 |
| 8 | ! CHECK-LABEL: "-fc1" |
| 9 | ! CHECK: -ffp-contract=off |
| 10 | ! CHECK: -O3 |