https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98465
--- Comment #29 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 50145 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50145&action=edit gcc11-pr98465.patch Yet another libstdc++ change that makes the warning go away, but doesn't actually change the generated code - in GIMPLE we end up with more stmts than before but RTL optimizations once we lose distinction on what is a pointer and what is just an offset added to it optimize those differences away.