[Bug c/90404] No warning on attempts to modify a const object

2019-05-09 Thread david at westcontrol dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90404 --- Comment #3 from David Brown --- Yes, false positives are always a risk with warnings. We already have a warning here that would catch pretty much any case, but with a big risk of false positives - "-Wcast-qual". My hope is for a warning

[Bug c/90404] No warning on attempts to modify a const object

2019-05-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90404 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED CC|