OSDN Git Service

* c-typeck.c (c_start_case): Don't strip conversions from the
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Dec 2001 23:49:32 +0000 (23:49 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Dec 2001 23:49:32 +0000 (23:49 +0000)
commita359431fb8dad9925af4f9f0517eebd0baacf118
treecfc882b1b4637780b15a77b7142e30441226ffc1
parented54c473cbb8295776f9ae25125815f08e68f4e1
* c-typeck.c (c_start_case): Don't strip conversions from the
controlling expression.  Partially fixes PR c/2454.

testsuite:
* gcc.c-torture/execute/20011223-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48292 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20011223-1.c [new file with mode: 0644]