https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108517
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org Summary|std::sort of empty range |[11/12/13 Regression] |yield "warning: 'this' |std::sort of empty range |pointer is null" |yield "warning: 'this' | |pointer is null" Known to fail| |11.1.0 Known to work| |10.4.0 --- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- The warning started with r11-1697: Underline argument in -Wnonnull and in C++ extend warning to the this pointer [PR c++/86568]. Resolves: PR c++/86568 - -Wnonnull warnings should highlight the relevant argument not the closing parenthesis