In r268085 "[MS] Make #pragma pack use PragmaStack<> class." there was an
uninitialized variable 'Alignment', which caused the following failure:
http://lab.llvm.org:8011/builders/sanitizer-ppc64be-linux/builds/1758
Zero-initialize the variable to fix this failure.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268129
91177308-0d34-0410-b5e6-
96231b3b80d8
void Sema::ActOnPragmaOptionsAlign(PragmaOptionsAlignKind Kind,
SourceLocation PragmaLoc) {
PragmaMsStackAction Action = Sema::PSK_Reset;
- unsigned Alignment;
+ unsigned Alignment = 0;
switch (Kind) {
// For all targets we support native and natural are the same.
//