21 lines
945 B
C
21 lines
945 B
C
// RUN: %clang -Ofast -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST %s
|
|
// RUN: %clang -fno-fast-math -Ofast -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST %s
|
|
// RUN: %clang -fno-strict-aliasing -Ofast -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST %s
|
|
// RUN: %clang -Ofast -fno-fast-math -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST-NO-FAST-MATH %s
|
|
// RUN: %clang -Ofast -fno-strict-aliasing -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST-NO-STRICT-ALIASING %s
|
|
|
|
// CHECK-OFAST: -cc1
|
|
// CHECK-OFAST-NOT: -relaxed-aliasing
|
|
// CHECK-OFAST: -ffast-math
|
|
// CHECK-OFAST: -Ofast
|
|
|
|
// CHECK-OFAST-NO-FAST-MATH: -cc1
|
|
// CHECK-OFAST-NO-FAST-MATH-NOT: -relaxed-aliasing
|
|
// CHECK-OFAST-NO-FAST-MATH-NOT: -ffast-math
|
|
// CHECK-OFAST-NO-FAST-MATH: -Ofast
|
|
|
|
// CHECK-OFAST-NO-STRICT-ALIASING: -cc1
|
|
// CHECK-OFAST-NO-STRICT-ALIASING: -relaxed-aliasing
|
|
// CHECK-OFAST-NO-STRICT-ALIASING: -ffast-math
|
|
// CHECK-OFAST-NO-STRICT-ALIASING: -Ofast
|