https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62247
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- With cross-compiler I get the same anon3.s (no .weak occurrences in the assembly) as in 4.9. As neither the test nor dg-require-weak seems to have changed, I guess the important questions are: 1) can you compare 4.9.2 and 5.0.0 generated assembly? 2) does the test in 4.9.2 PASS or is it UNSUPPORTED? 3) has something changed in auto-host.h, such as previously HAVE_GAS_WEAK and now no longer true or something similar? 4) if there has been any change on the compiler side, can you bisect when did that happen?