https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93971
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|WONTFIX |--- --- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- By definition, std::string (like most other C++ containers) doesn't alias anything outside the storage it manages. It should be possible to express that constraint somehow (e.g., via the restrict keyword or maybe an attribute), and improve code generation that way. How about a little less arrogance and viewing this report in that light?