https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31798
andyg1001 at hotmail dot co.uk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andyg1001 at hotmail dot co.uk --- Comment #4 from andyg1001 at hotmail dot co.uk --- Did this bug ever get resolved satisfactorily? For now, the only solution, as suggested by Rich Felker, is to have for example a dummy division instruction somewhere in the code that's being compiled. I'm using gcc 4.8.5 with musl-libc 1.1.12.