https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69245
--- Comment #9 from chrbr at gcc dot gnu.org --- Created attachment 37329 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37329&action=edit factorize restoration code works for this case but fully untested