c-simplify.c (simplify_switch_stmt): A SWITCH_EXPR also gets the source location...
authorJason Merrill <jason@gcc.gnu.org>
Tue, 27 May 2003 16:09:28 +0000 (12:09 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 27 May 2003 16:09:28 +0000 (12:09 -0400)
commit86982c71d17f2e9888e649fe5c88b65ff84561d8
tree481e79e8ca7de765632a94cd0f1d574e25478dcb
parent0f35d192649abdabcec0a8a1cabed1409ff5055e
c-simplify.c (simplify_switch_stmt): A SWITCH_EXPR also gets the source location of its first line.

        * c-simplify.c (simplify_switch_stmt): A SWITCH_EXPR also gets the
        source location of its first line.

From-SVN: r67188
gcc/testsuite/g++.dg/warn/Wswitch-1.C
gcc/testsuite/g++.dg/warn/Wswitch-2.C