https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66868
--- Comment #4 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Hm. I compiled it as stated and I see a bunch of code that appears to be storing the ".disk/" string. So it doesn't look like dead code elimination. Perhaps a branch is short circuiting this, or the address of where to store it has been corrupted. I don't have any way to confirm that I'm reproducing the problem when I compile, from what's given here. It might be helpful to provide the full test case without ellipses, and the failure message given by the test.