https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66030
--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> --- I think the patch posted at https://gcc.gnu.org/ml/gcc-patches/2015-06/msg00590.html should be equivalent, if you have time to check it that would be great.