|
4 | 4 |
|
5 | 5 | // RUN: %clang -### -ffp-model=fast -ffp-contract=off -c %s 2>&1 \
|
6 | 6 | // RUN: | FileCheck --check-prefix=WARN %s
|
7 |
| -// WARN: warning: overriding '-ffp-model=fast' option with '-ffp-contract=off' [-Woverriding-t-option] |
| 7 | +// WARN: warning: overriding '-ffp-model=fast' option with '-ffp-contract=off' [-Woverriding-option] |
8 | 8 |
|
9 | 9 | // RUN: %clang -### -ffp-model=fast -ffp-contract=on -c %s 2>&1 \
|
10 | 10 | // RUN: | FileCheck --check-prefix=WARN1 %s
|
11 |
| -// WARN1: warning: overriding '-ffp-model=fast' option with '-ffp-contract=on' [-Woverriding-t-option] |
| 11 | +// WARN1: warning: overriding '-ffp-model=fast' option with '-ffp-contract=on' [-Woverriding-option] |
12 | 12 |
|
13 | 13 | // RUN: %clang -### -ffp-model=strict -fassociative-math -c %s 2>&1 \
|
14 | 14 | // RUN: | FileCheck --check-prefix=WARN2 %s
|
15 |
| -// WARN2: warning: overriding '-ffp-model=strict' option with '-fassociative-math' [-Woverriding-t-option] |
| 15 | +// WARN2: warning: overriding '-ffp-model=strict' option with '-fassociative-math' [-Woverriding-option] |
16 | 16 |
|
17 | 17 | // RUN: %clang -### -ffp-model=strict -ffast-math -c %s 2>&1 \
|
18 | 18 | // RUN: | FileCheck --check-prefix=WARN3 %s
|
19 |
| -// WARN3: warning: overriding '-ffp-model=strict' option with '-ffast-math' [-Woverriding-t-option] |
| 19 | +// WARN3: warning: overriding '-ffp-model=strict' option with '-ffast-math' [-Woverriding-option] |
20 | 20 |
|
21 | 21 | // RUN: %clang -### -ffp-model=strict -ffinite-math-only -c %s 2>&1 \
|
22 | 22 | // RUN: | FileCheck --check-prefix=WARN4 %s
|
23 |
| -// WARN4: warning: overriding '-ffp-model=strict' option with '-ffinite-math-only' [-Woverriding-t-option] |
| 23 | +// WARN4: warning: overriding '-ffp-model=strict' option with '-ffinite-math-only' [-Woverriding-option] |
24 | 24 |
|
25 | 25 | // RUN: %clang -### -ffp-model=strict -ffp-contract=fast -c %s 2>&1 \
|
26 | 26 | // RUN: | FileCheck --check-prefix=WARN5 %s
|
27 |
| -// WARN5: warning: overriding '-ffp-model=strict' option with '-ffp-contract=fast' [-Woverriding-t-option] |
| 27 | +// WARN5: warning: overriding '-ffp-model=strict' option with '-ffp-contract=fast' [-Woverriding-option] |
28 | 28 |
|
29 | 29 | // RUN: %clang -### -ffp-model=strict -ffp-contract=on -c %s 2>&1 \
|
30 | 30 | // RUN: | FileCheck --check-prefix=WARN7 %s
|
31 |
| -// WARN7: warning: overriding '-ffp-model=strict' option with '-ffp-contract=on' [-Woverriding-t-option] |
| 31 | +// WARN7: warning: overriding '-ffp-model=strict' option with '-ffp-contract=on' [-Woverriding-option] |
32 | 32 |
|
33 | 33 | // RUN: %clang -### -ffp-model=strict -fno-honor-infinities -c %s 2>&1 \
|
34 | 34 | // RUN: | FileCheck --check-prefix=WARN8 %s
|
35 |
| -// WARN8: warning: overriding '-ffp-model=strict' option with '-fno-honor-infinities' [-Woverriding-t-option] |
| 35 | +// WARN8: warning: overriding '-ffp-model=strict' option with '-fno-honor-infinities' [-Woverriding-option] |
36 | 36 |
|
37 | 37 | // RUN: %clang -### -ffp-model=strict -fno-honor-nans -c %s 2>&1 \
|
38 | 38 | // RUN: | FileCheck --check-prefix=WARN9 %s
|
39 |
| -// WARN9: warning: overriding '-ffp-model=strict' option with '-fno-honor-nans' [-Woverriding-t-option] |
| 39 | +// WARN9: warning: overriding '-ffp-model=strict' option with '-fno-honor-nans' [-Woverriding-option] |
40 | 40 |
|
41 | 41 | // RUN: %clang -### -ffp-model=strict -fno-rounding-math -c %s 2>&1 \
|
42 | 42 | // RUN: | FileCheck --check-prefix=WARNa %s
|
43 |
| -// WARNa: warning: overriding '-ffp-model=strict' option with '-fno-rounding-math' [-Woverriding-t-option] |
| 43 | +// WARNa: warning: overriding '-ffp-model=strict' option with '-fno-rounding-math' [-Woverriding-option] |
44 | 44 |
|
45 | 45 | // RUN: %clang -### -ffp-model=strict -fno-signed-zeros -c %s 2>&1 \
|
46 | 46 | // RUN: | FileCheck --check-prefix=WARNb %s
|
47 |
| -// WARNb: warning: overriding '-ffp-model=strict' option with '-fno-signed-zeros' [-Woverriding-t-option] |
| 47 | +// WARNb: warning: overriding '-ffp-model=strict' option with '-fno-signed-zeros' [-Woverriding-option] |
48 | 48 |
|
49 | 49 | // RUN: %clang -### -ffp-model=strict -fno-trapping-math -c %s 2>&1 \
|
50 | 50 | // RUN: | FileCheck --check-prefix=WARNc %s
|
51 |
| -// WARNc: warning: overriding '-ffp-model=strict' option with '-fno-trapping-math' [-Woverriding-t-option] |
| 51 | +// WARNc: warning: overriding '-ffp-model=strict' option with '-fno-trapping-math' [-Woverriding-option] |
52 | 52 |
|
53 | 53 | // RUN: %clang -### -ffp-model=strict -freciprocal-math -c %s 2>&1 \
|
54 | 54 | // RUN: | FileCheck --check-prefix=WARNd %s
|
55 |
| -// WARNd: warning: overriding '-ffp-model=strict' option with '-freciprocal-math' [-Woverriding-t-option] |
| 55 | +// WARNd: warning: overriding '-ffp-model=strict' option with '-freciprocal-math' [-Woverriding-option] |
56 | 56 |
|
57 | 57 | // RUN: %clang -### -ffp-model=strict -funsafe-math-optimizations -c %s 2>&1 \
|
58 | 58 | // RUN: | FileCheck --check-prefix=WARNe %s
|
59 |
| -// WARNe: warning: overriding '-ffp-model=strict' option with '-funsafe-math-optimizations' [-Woverriding-t-option] |
| 59 | +// WARNe: warning: overriding '-ffp-model=strict' option with '-funsafe-math-optimizations' [-Woverriding-option] |
60 | 60 |
|
61 | 61 | // RUN: %clang -### -ffp-model=strict -Ofast -c %s 2>&1 \
|
62 | 62 | // RUN: | FileCheck --check-prefix=WARNf %s
|
63 |
| -// WARNf: warning: overriding '-ffp-model=strict' option with '-Ofast' [-Woverriding-t-option] |
| 63 | +// WARNf: warning: overriding '-ffp-model=strict' option with '-Ofast' [-Woverriding-option] |
64 | 64 |
|
65 | 65 | // RUN: %clang -### -ffp-model=strict -fdenormal-fp-math=preserve-sign,preserve-sign -c %s 2>&1 \
|
66 | 66 | // RUN: | FileCheck --check-prefix=WARN10 %s
|
67 |
| -// WARN10: warning: overriding '-ffp-model=strict' option with '-fdenormal-fp-math=preserve-sign,preserve-sign' [-Woverriding-t-option] |
| 67 | +// WARN10: warning: overriding '-ffp-model=strict' option with '-fdenormal-fp-math=preserve-sign,preserve-sign' [-Woverriding-option] |
68 | 68 |
|
69 | 69 | // RUN: %clang -### -ffp-model=fast -ffp-model=strict -c %s 2>&1 | FileCheck \
|
70 | 70 | // RUN: --check-prefix=WARN11 %s
|
71 |
| -// WARN11: warning: overriding '-ffp-model=fast' option with '-ffp-model=strict' [-Woverriding-t-option] |
72 |
| -// WARN11-NOT: warning: overriding '-ffp-model=strict' option with '-ffp-model=strict' [-Woverriding-t-option] |
| 71 | +// WARN11: warning: overriding '-ffp-model=fast' option with '-ffp-model=strict' [-Woverriding-option] |
| 72 | +// WARN11-NOT: warning: overriding '-ffp-model=strict' option with '-ffp-model=strict' [-Woverriding-option] |
73 | 73 |
|
74 | 74 | // RUN: %clang -### -Ofast -ffp-model=strict -c %s 2>&1 | FileCheck \
|
75 | 75 | // RUN: --check-prefix=WARN12 %s
|
76 | 76 | // RUN: %clang -### -ffast-math -ffp-model=strict -c %s 2>&1 | FileCheck \
|
77 | 77 | // RUN: --check-prefix=WARN12 %s
|
78 |
| -// WARN12-NOT: warning: overriding '-ffp-model=strict' option with '-ffp-model=strict' [-Woverriding-t-option] |
| 78 | +// WARN12-NOT: warning: overriding '-ffp-model=strict' option with '-ffp-model=strict' [-Woverriding-option] |
79 | 79 |
|
80 | 80 | // RUN: %clang -### -ffp-model=strict -fapprox-func -c %s 2>&1 \
|
81 | 81 | // RUN: | FileCheck --check-prefix=WARN13 %s
|
82 |
| -// WARN13: warning: overriding '-ffp-model=strict' option with '-fapprox-func' [-Woverriding-t-option] |
| 82 | +// WARN13: warning: overriding '-ffp-model=strict' option with '-fapprox-func' [-Woverriding-option] |
83 | 83 |
|
84 | 84 | // RUN: %clang -### -c %s 2>&1 \
|
85 | 85 | // RUN: | FileCheck --check-prefix=CHECK-NOROUND %s
|
|
0 commit comments