
This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
13 lines
586 B
C
13 lines
586 B
C
// RUN: env CCC_OVERRIDE_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 CCC_OVERRIDE_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: ### CCC_OVERRIDE_OPTIONS: x-Werror +-msse
|
|
// RM-WERROR-NEXT: ### Deleting argument -Werror
|
|
// RM-WERROR-NEXT: ### Adding argument -msse at end
|
|
// RM-WERROR-NOT: "-Werror"
|