https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69237
--- Comment #4 from Franz Sirl <sirl at gcc dot gnu.org> --- For me, yes. Because as a reader knowing nothing about the code and looking for some kind of "bug" in the code, I cannot decide easily if the _intention_ was if (elem) { *elem = (*this)[fCount - 1]; } --fCount; or: if (elem) { *elem = (*this)[fCount - 1]; --fCount; } In my understanding that matches the "misleading" in -Wmisleading-indentation.