[Bug c/70436] -Wmisleading-indentation missing warning

ppalka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 29 15:03:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70436

--- Comment #7 from Patrick Palka <ppalka at gcc dot gnu.org> ---
BTW according to a working implementation of this -Wdangling-else warning (not
the above broken one I prematurely posted), the only suspicious use of dangling
else (i.e. a use in which the indentation is off*) in gcc's c++ source files is

  /home/patrick/code/gcc/gcc/ssa-iterators.h:454:3: note: dangling else

*: by indentation being off I mean that the column of the dangling else is not
the same as the column of the innermost if


More information about the Gcc-bugs mailing list