https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85834
--- Comment #1 from David Binderman <dcb314 at hotmail dot com> --- Removing the last two lines of commands which replace -O2 with -O3 also make it work, so it looks like someone's broken some part of -O3 since Wed 16 May.