This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add INCLUDE_UNIQUE_PTR and use it (PR bootstrap/82610)
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: David Malcolm <dmalcolm at redhat dot com>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, Pedro Alves <palves at redhat dot com>, Jonathan Wakely <jwakely at redhat dot com>, Michael Matz <matz at suse dot de>, gcc-patches at gcc dot gnu dot org, Trevor Saunders <tbsaunde+gcc at tbsaunde dot org>
- Date: Mon, 23 Oct 2017 21:43:41 +0200 (CEST)
- Subject: Re: [PATCH] Add INCLUDE_UNIQUE_PTR and use it (PR bootstrap/82610)
- Authentication-results: sourceware.org; auth=none
- References: <f8293c30-7981-93e9-820c-4582b755d777@redhat.com> <1508782520-64288-1-git-send-email-dmalcolm@redhat.com>
On Mon, 23 Oct 2017, David Malcolm wrote:
> Here's a different patch, which instead moves the include of our
> "unique-ptr.h" to system.h (conditionalized on INCLUDE_UNIQUE_PTR),
> after the decl of "free" and before the redefinition of "abort".
Thanks for your persistance in tackling this, David!
> I don't know if it actually fixes the bootstrap issue seen with
> clang on Darwin and OpenBSD, though - but I expect it to.
I didn't know OpenBSD was broken too. ;-) I just applied your patch
on the FreeBSD tester that exhibited the issue for me, and that is now
happily into stage 2, whereas previous it would fail during stage 1.
Good night,
Gerald