https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90028
--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Upstream 2.31 and 2.31.1 is affected too, but 2.31 branch starting with August 2018 is not affected. As the fix has been backported also to 2.30 branch, I guess 2.30 is affected too, 2.32 is not affected. Dunno about older binutils, you'll need to try.