https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61144
--- Comment #18 from Rich Felker <bugdal at aerifal dot cx> --- Any ideas on how to reliably test for this bug without having to run programs (breaks cross-compiling) or use additional tools (nm, objdump, etc. which we don't already depend on) to detect it? Since this issue was raised in relation to musl libc we're holding up the pending release trying to decide how best to work around it. My hope is to simply reject the broken version(s) with a message to try -fno-toplevel-reorder, and I could just hard-code 4.9.0 as the only broken version if folks on the GCC side are willing to make sure this gets fixed in time for 4.9.1, but obviously having a test for the bug would be preferable.