Revert "* experimental New snapshot release"

This reverts commit 8d2542f6a9.
This commit is contained in:
Sylvestre Ledru 2019-02-03 17:27:16 +01:00
parent 0d62419943
commit d25bfbfc05
3 changed files with 30 additions and 7 deletions

7
debian/changelog vendored
View File

@ -1,10 +1,3 @@
llvm-toolchain-7 (1:7.0.1~svn352582-1~exp1) UNRELEASED; urgency=medium
* experimental New snapshot release
* Remove pr39427-misscompile.diff as it has been applied upstream
-- Sylvestre Ledru <sylvestre@debian.org> Wed, 30 Jan 2019 08:53:14 +0100
llvm-toolchain-7 (1:7.0.1-5) unstable; urgency=medium llvm-toolchain-7 (1:7.0.1-5) unstable; urgency=medium
* Add 'Rules-Requires-Root: no' in debian/control * Add 'Rules-Requires-Root: no' in debian/control

29
debian/patches/pr39427-misscompile.diff vendored Normal file
View File

@ -0,0 +1,29 @@
Index: llvm-toolchain-7-7/include/llvm/ADT/Optional.h
===================================================================
--- llvm-toolchain-7-7.orig/include/llvm/ADT/Optional.h
+++ llvm-toolchain-7-7/include/llvm/ADT/Optional.h
@@ -108,24 +108,6 @@ template <typename T, bool IsPodLike> st
}
};
-#if !defined(__GNUC__) || defined(__clang__) // GCC up to GCC7 miscompiles this.
-/// Storage for trivially copyable types only.
-template <typename T> struct OptionalStorage<T, true> {
- AlignedCharArrayUnion<T> storage;
- bool hasVal = false;
-
- OptionalStorage() = default;
-
- OptionalStorage(const T &y) : hasVal(true) { new (storage.buffer) T(y); }
- OptionalStorage &operator=(const T &y) {
- *reinterpret_cast<T *>(storage.buffer) = y;
- hasVal = true;
- return *this;
- }
-
- void reset() { hasVal = false; }
-};
-#endif
} // namespace optional_detail
template <typename T> class Optional {

View File

@ -99,6 +99,7 @@ clang-arm-default-vfp3-on-armv7a.patch
# For the bootstrap # For the bootstrap
bootstrap-fix-include-next.diff bootstrap-fix-include-next.diff
clangd-atomic-cmake.patch clangd-atomic-cmake.patch
pr39427-misscompile.diff
# Rustc # Rustc
rustc-aarch64-test-failure.diff rustc-aarch64-test-failure.diff