* c-simplify.c (simplify_switch_stmt): A SWITCH_EXPR also gets the
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 May 2003 16:09:28 +0000 (16:09 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 May 2003 16:09:28 +0000 (16:09 +0000)
commitbbe0b2c2b6d807fa7aded9b7a2002a5f34442f0d
tree481e79e8ca7de765632a94cd0f1d574e25478dcb
parent58dcace7c245e791eb276807aa3b8c0a48bcf6ca
    * c-simplify.c (simplify_switch_stmt): A SWITCH_EXPR also gets the
        source location of its first line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67188 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/g++.dg/warn/Wswitch-1.C
gcc/testsuite/g++.dg/warn/Wswitch-2.C