-fpack-struct's handling has changed in CC1 (one of only two flags that needed changing) because the driver treats "-fpack-struct" as a boolean flag, and CC1 (did) treat it as an option with a separated value. This change causes -fpack-struct=X to be forwarded correctly to -fpack-struct=X instead of erroneously to "-fpack-struct X" llvm-svn: 155981
11 lines
256 B
C
11 lines
256 B
C
// RUN: %clang -fpack-struct -### %s 2> %t
|
|
// RUN: FileCheck < %t %s
|
|
// RUN: %clang -fpack-struct=8 -### %s 2> %t
|
|
// RUN: FileCheck < %t %s --check-prefix=EQ
|
|
|
|
// CHECK: "-cc1"
|
|
// CHECK: "-fpack-struct=1"
|
|
|
|
// CHECK-EQ: "-cc1"
|
|
// CHECK-EQ: "-fpack-struct=8"
|