Commit 8d2542f6 authored by Sylvestre Ledru's avatar Sylvestre Ledru

* experimental New snapshot release

* Remove pr39427-misscompile.diff as it has been applied upstream
parent 7e6d3753
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
* Add 'Rules-Requires-Root: no' in debian/control
......
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 {
......@@ -99,7 +99,6 @@ clang-arm-default-vfp3-on-armv7a.patch
# For the bootstrap
bootstrap-fix-include-next.diff
clangd-atomic-cmake.patch
pr39427-misscompile.diff
# Rustc
rustc-aarch64-test-failure.diff
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment