From: dim Date: Sat, 10 Dec 2016 22:03:44 +0000 (+0000) Subject: Tentatively apply https://reviews.llvm.org/D18730 to work around gcc PR X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=dbb7892e50a91673cc3dfcdf575a35a2a00dee95;p=people%2Froyger%2Ffreebsd.git Tentatively apply https://reviews.llvm.org/D18730 to work around gcc PR 70528 (bogus error: constructor required before non-static data member). This should fix buildworld with the external gcc package. Reported by: https://jenkins.freebsd.org/job/FreeBSD_HEAD_amd64_gcc/ --- diff --git a/contrib/llvm/lib/Bitcode/Writer/ValueEnumerator.h b/contrib/llvm/lib/Bitcode/Writer/ValueEnumerator.h index bff2de70b3ec..a8d6cf965a4b 100644 --- a/contrib/llvm/lib/Bitcode/Writer/ValueEnumerator.h +++ b/contrib/llvm/lib/Bitcode/Writer/ValueEnumerator.h @@ -95,7 +95,7 @@ private: /// Number of strings in the prefix of the metadata range. unsigned NumStrings = 0; - MDRange() = default; + MDRange() {} explicit MDRange(unsigned First) : First(First) {} }; SmallDenseMap FunctionMDInfo;