From 4cb18de51a4768f96cc2f1c67bd77c61c360fd84 Mon Sep 17 00:00:00 2001 From: Serge Guelton Date: Sun, 20 Jan 2019 23:06:45 +0000 Subject: [PATCH] Tentative fix for r351701 and gcc 6.2 build on ubuntu git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351705 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/MCParser/AsmParser.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/MC/MCParser/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp index faa29f3f63c..6c311c13836 100644 --- a/lib/MC/MCParser/AsmParser.cpp +++ b/lib/MC/MCParser/AsmParser.cpp @@ -158,9 +158,10 @@ private: /// The values from the last parsed cpp hash file line comment if any. struct CppHashInfoTy { StringRef Filename; - int64_t LineNumber = 0; + int64_t LineNumber; SMLoc Loc; - unsigned Buf = 0; + unsigned Buf; + CppHashInfoTy() : Filename(), LineNumber(0), Loc(), Buf(0) {} }; CppHashInfoTy CppHashInfo; -- 2.50.1