https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70120
--- Comment #6 from Richard Henderson <rth at gcc dot gnu.org> --- Created attachment 37975 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37975&action=edit proposed patch This is kind of a hack, but not too bad. Zdenek, could you please test on that third testcase that you didn't post? I expect it'll be fixed too, but...