[Bug c/70085] False positive -Wmisleading-indentation

dmalcolm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 11 19:49:00 GMT 2016


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

--- Comment #4 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Fri Mar 11 19:48:49 2016
New Revision: 234145

URL: https://gcc.gnu.org/viewcvs?rev=234145&root=gcc&view=rev
Log:
Wmisleading-indentation: add reproducer for PR c/70085

PR c/70085 reported a false-positive from -Wmisleading-indentation.

The warning was fixed by the fix for PR c/68187 (r233972), but it seems
worth capturing the reproducer for PR c/70085 as an additional test case,
as it's slightly different to those seen in PR c/68187.

gcc/testsuite/ChangeLog:
        PR c/70085
        * c-c++-common/Wmisleading-indentation.c (pr70085): New test case.


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/Wmisleading-indentation.c


More information about the Gcc-bugs mailing list