https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117771
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 59699 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59699&action=edit 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.