https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58023
--- Comment #7 from janus at gcc dot gnu.org --- I have finally committed the patch in comment 2 (sorry that it took so long). The ICE on comment 0 is still there, but for consistency one should do a bit more than shown in comment 5. Will take care of that next.