https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100994
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org --- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> --- The test cases in comment #4 and comment #5 aren't valid, either in C++ or in C: it's undefined to modify const-qualified object.