https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78478
--- Comment #24 from Joel Sherrill <joel at gcc dot gnu.org> --- Would you mind applying this to the 6.x branch? That was where the issue was initially spotted. I don't know what to do about this extra line in rtemself.h though. It was not present in the master #define IX86_NO_LIBGCC_TFMODE