This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/63811] r217322 breaks bootstrap
- From: "howarth at bromo dot med.uc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Nov 2014 04:09:54 +0000
- Subject: [Bug bootstrap/63811] r217322 breaks bootstrap
- Auto-submitted: auto-generated
- References: <bug-63811-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63811
--- Comment #1 from howarth at bromo dot med.uc.edu ---
The change...
Index: libstdc++-v3/include/bits/stl_deque.h
===================================================================
--- libstdc++-v3/include/bits/stl_deque.h (revision 217331)
+++ libstdc++-v3/include/bits/stl_deque.h (working copy)
@@ -642,7 +642,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
// Create a copy of the current allocator.
_Tp_alloc_type __alloc{_M_get_Tp_allocator()};
// Put that copy in a moved-from state.
- _Tp_alloc_type __unused __attribute((__unused__)) {std::move(__alloc)};
+ _Tp_alloc_type __unused__ __attribute((__unused__)) {std::move(__alloc)};
// Create an empty map that allocates using the moved-from allocator.
_Deque_base __empty{__alloc};
// Now safe to modify current allocator and perform non-throwing swaps.
eliminates the bootstrap error