https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69841
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> --- (In reply to James Greenhalgh from comment #5) > I don't know enough about the C++ standard to know whether this patch is > reasonable to backport to GCC 5. Jason, do you have an opinion? I'd be pretty nervous about packporting that patch, as changes to that behavior tend to have unexpected side-effects. And it seems likely to have just made this bug latent, rather than actually fixed it.