[Bug c++/69237] [6 Regression] strange -Wmisleading-indentation warning when building Chromium
sirl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 12 13:55:00 GMT 2016
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.
More information about the Gcc-bugs
mailing list