https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102242
--- Comment #3 from Gerald Pfeifer <gerald at pfeifer dot com> ---
(In reply to David Malcolm from comment #1)
> Sorry about the breakage.
That's what my nightly testers are here for to catch. :)
> I think I need to #define INCLUDE_UNIQUE_PTR before including system.h,
> rather than manually including <memory>. Was that what your patch does?
In my patch, which passed bootstrap in the meantime, I added
#ifdef INCLUDE_MEMORY
# include <memory>
#endif
to gcc/system.h and defined INCLUDE_MEMORY early in analyzer/engine.cc.
Your patch sounds a little lighter and in fact more portable, so happy if
you want to go with it.