https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65656
--- Comment #10 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Martin Sebor from comment #9) > See also bug 54021 for a similar problem report. That bug has been resolved > and the test case submitted here also compiles and runs to completion with > the same output as with Clang (at both -O0 and -O2). > > I can reproduce the problem described in comment #6 but it seems independent > of the bug reported here. Are there any objections to resolving this bug as > suggested in comment #3 and opening a new one for the other issue? No such objections from me.