https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70512
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> --- (In reply to Nathan Sidwell from comment #3) > Are you working on that? If so, please reassign this bug. I'm not currently. But I think the approach you outlines makes sense; I just didn't get round to write any code.