https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86318
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Host| |90404 --- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> --- I should add that issuing a warning when an attempt is detected to modify a const object (or subobject) as requested in pr90404 should help detect changes, resulting from the optimization, to the behavior of code that deliberately violates the restriction to modify constant subobjects.