https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102695
David Malcolm <dmalcolm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> --- The above patch implements detection for all of the cases in comment #0 apart from write_const_member; I don't plan to implement detection of that, so marking this as resolved.