f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
12 lines
598 B
C
12 lines
598 B
C
// RUN: env QA_OVERRIDE_GCC3_OPTIONS="#+-Os +-Oz +-O +-O3 +-Oignore +a +b +c xb Xa Omagic ^-### " %clang -target x86_64-apple-darwin %s -O2 b -O3 2>&1 | FileCheck %s
|
|
// RUN: env QA_OVERRIDE_GCC3_OPTIONS="x-Werror +-msse" %clang -target x86_64-apple-darwin -Werror %s -c -### 2>&1 | FileCheck %s -check-prefix=RM-WERROR
|
|
|
|
// CHECK: "-cc1"
|
|
// CHECK-NOT: "-Oignore"
|
|
// CHECK: "-Omagic"
|
|
// CHECK-NOT: "-Oignore"
|
|
|
|
// RM-WERROR: ### QA_OVERRIDE_GCC3_OPTIONS: x-Werror +-msse
|
|
// RM-WERROR-NEXT: ### Deleting argument -Werror
|
|
// RM-WERROR-NEXT: ### Adding argument -msse at end
|
|
// RM-WERROR-NOT: "-Werror"
|