+2017-10-23 David Malcolm <dmalcolm@redhat.com>
+
+ PR bootstrap/82610
+ * system.h: Conditionally include "unique-ptr.h" if
+ INCLUDE_UNIQUE_PTR is defined.
+ * unique-ptr-tests.cc: Remove include of "unique-ptr.h" in favor
+ of defining INCLUDE_UNIQUE_PTR before including "system.h".
+
2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
* config/rl78/rl78.md: New define_expand "subdi3".
#define __builtin_expect(a, b) (a)
#endif
+/* Some of the headers included by <memory> can use "abort" within a
+ namespace, e.g. "_VSTD::abort();", which fails after we use the
+ preprocessor to redefine "abort" as "fancy_abort" below.
+ Given that unique-ptr.h can use "free", we need to do this after "free"
+ is declared but before "abort" is overridden. */
+
+#ifdef INCLUDE_UNIQUE_PTR
+# include "unique-ptr.h"
+#endif
+
/* Redefine abort to report an internal error w/o coredump, and
reporting the location of the error in the source file. */
extern void fancy_abort (const char *, int, const char *)
+2017-10-23 David Malcolm <dmalcolm@redhat.com>
+
+ * unique-ptr.h: Make include of <memory> conditional on C++11 or
+ later.
+
2017-10-16 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
David Malcolm <dmalcolm@redhat.com>