svn commit: r309835 - head/contrib/llvm/lib/Bitcode/Writer

Dimitry Andric dim at FreeBSD.org
Sat Dec 10 22:03:46 UTC 2016


Author: dim
Date: Sat Dec 10 22:03:44 2016
New Revision: 309835
URL: https://svnweb.freebsd.org/changeset/base/309835

Log:
  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/

Modified:
  head/contrib/llvm/lib/Bitcode/Writer/ValueEnumerator.h

Modified: head/contrib/llvm/lib/Bitcode/Writer/ValueEnumerator.h
==============================================================================
--- head/contrib/llvm/lib/Bitcode/Writer/ValueEnumerator.h	Sat Dec 10 21:23:21 2016	(r309834)
+++ head/contrib/llvm/lib/Bitcode/Writer/ValueEnumerator.h	Sat Dec 10 22:03:44 2016	(r309835)
@@ -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<unsigned, MDRange, 1> FunctionMDInfo;


More information about the svn-src-head mailing list