https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259
--- Comment #33 from Martin Sebor <msebor at gcc dot gnu.org> --- The following patch relaxes the optimization and handles the test suite fallout: https://gcc.gnu.org/ml/gcc-patches/2018-10/msg00129.html It just needs to be rebased on top of the current trunk and some minor tweaking to respond to Jeff's concerns. I plan to update and resubmit it soon.