https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81224
--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That looks risky to me, changes behavior. Can't you instead of the warning + removal from attributes just do something that doesn't crash when it sees an empty string wherever it crashed?