https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65619
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Fixed for GCC 6 by r227023, which fixed PR 66957. The example here looks different enough that we should probably add it to the testsuite before closing this.