https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118396
--- Comment #17 from Carlos Galvez <carlosgalvezp at gmail dot com> --- (FYI I'm trying to test this but now I get out-of-memory errors when trying to compile a single .cpp file, will test with a newer patch in case it got fixed)