re PR c/23161 (Labels and empty statement warnings)
authorJames A. Morrison <phython@gcc.gnu.org>
Tue, 9 Aug 2005 04:21:26 +0000 (04:21 +0000)
committerJames A. Morrison <phython@gcc.gnu.org>
Tue, 9 Aug 2005 04:21:26 +0000 (04:21 +0000)
commitf14e694e82ff0a1aff4a9b8da707fda2209fded7
treec109122a3afbc79c870fd4e7a196f2c92de42a6a
parent2ef571e2c282999a7c3f46e6a0b85a1a46500135
re PR c/23161 (Labels and empty statement warnings)

2005-08-09  James A. Morrison  <phython@gcc.gnu.org>

        PR c/23161
        PR c/23165
        * c-typeck.c (c_finish_if_stmt): Look into STATEMENT_LISTs to see
        if the if is really empty.

From-SVN: r102896
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr23165.c [new file with mode: 0644]