|
@@ -289,25 +289,25 @@
|
|
|
// CHECK-NO-TRAPPING-MATH: "-fno-trapping-math"
|
|
|
|
|
|
// This isn't fast-math, but the option is handled in the same place as other FP params.
|
|
|
-// Last option wins, and the flag is *not* passed by default.
|
|
|
+// Last option wins, and strict behavior is assumed by default.
|
|
|
|
|
|
-// RUN: %clang -### -ffp-cast-overflow-workaround -c %s 2>&1 \
|
|
|
+// RUN: %clang -### -fno-strict-float-cast-overflow -c %s 2>&1 \
|
|
|
// RUN: | FileCheck --check-prefix=CHECK-FPOV-WORKAROUND %s
|
|
|
// CHECK-FPOV-WORKAROUND: "-cc1"
|
|
|
-// CHECK-FPOV-WORKAROUND: "-ffp-cast-overflow-workaround"
|
|
|
+// CHECK-FPOV-WORKAROUND: "-fno-strict-float-cast-overflow"
|
|
|
|
|
|
// RUN: %clang -### -c %s 2>&1 \
|
|
|
// RUN: | FileCheck --check-prefix=CHECK-FPOV-WORKAROUND-DEFAULT %s
|
|
|
// CHECK-FPOV-WORKAROUND-DEFAULT: "-cc1"
|
|
|
-// CHECK-FPOV-WORKAROUND-DEFAULT-NOT: "-ffp-cast-overflow-workaround"
|
|
|
+// CHECK-FPOV-WORKAROUND-DEFAULT-NOT: "strict-float-cast-overflow"
|
|
|
|
|
|
-// RUN: %clang -### -fno-fp-cast-overflow-workaround -c %s 2>&1 \
|
|
|
+// RUN: %clang -### -fstrict-float-cast-overflow -c %s 2>&1 \
|
|
|
// RUN: | FileCheck --check-prefix=CHECK-NO-FPOV-WORKAROUND %s
|
|
|
// CHECK-NO-FPOV-WORKAROUND: "-cc1"
|
|
|
-// CHECK-NO-FPOV-WORKAROUND-NOT: "-ffp-cast-overflow-workaround"
|
|
|
+// CHECK-NO-FPOV-WORKAROUND-NOT: "strict-float-cast-overflow"
|
|
|
|
|
|
-// RUN: %clang -### -ffp-cast-overflow-workaround -fno-fp-cast-overflow-workaround -c %s 2>&1 \
|
|
|
+// RUN: %clang -### -fno-strict-float-cast-overflow -fstrict-float-cast-overflow -c %s 2>&1 \
|
|
|
// RUN: | FileCheck --check-prefix=CHECK-NO-FPOV-WORKAROUND-OVERRIDE %s
|
|
|
// CHECK-NO-FPOV-WORKAROUND-OVERRIDE: "-cc1"
|
|
|
-// CHECK-NO-FPOV-WORKAROUND-OVERRIDE-NOT: "-ffp-cast-overflow-workaround"
|
|
|
+// CHECK-NO-FPOV-WORKAROUND-OVERRIDE-NOT: "strict-float-cast-overflow"
|
|
|
|