https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117771

--- Comment #3 from Edwin Lu <ewlu at rivosinc dot com> ---
(In reply to Andrew Pinski from comment #2)
> Created attachment 59699 [details]
> Patch to test
> 
> Can you test this patch? It moves the include of sstream above safe-ctype.h.
> I don't know why it worked before; memory was included originally after
> safe-ctype.h but now included before.

I was able to build stage2 with gcc-9 with this patch applied. I've also been
able to build stage1 with gcc-11 with no problems so far.

Reply via email to