https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69841
--- Comment #5 from James Greenhalgh <jgreenhalgh at gcc dot gnu.org> --- 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?