https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116034
--- Comment #6 from Zdenek Sojka <zsojka at seznam dot cz> --- (In reply to Sam James from comment #1) > on godbolt, 6.5 looks OK, and 7.1 starts to fail for amd64. My apologies; the results for gcc-6.5.0 and gcc-7.5.0 were not correct due to linking errors. Indeed 6.5.0 works, and 7.5.0 fails.