]> gcc.gnu.org Git - gcc.git/commit
re PR c/2454 (Test Program A0376972.c fails with gcc-20010320, works with gcc-2.95.3)
authorJoseph Myers <jsm28@cam.ac.uk>
Sun, 23 Dec 2001 23:49:32 +0000 (23:49 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Sun, 23 Dec 2001 23:49:32 +0000 (23:49 +0000)
commit6eb5351149fbe37f06c43bacb968e71bd73dfbb5
treecfc882b1b4637780b15a77b7142e30441226ffc1
parentb31bbca2fe191ef1ac1b31872a57328b916ef735
re PR c/2454 (Test Program A0376972.c fails with gcc-20010320, works with gcc-2.95.3)

* 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.

From-SVN: r48292
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20011223-1.c [new file with mode: 0644]
This page took 0.057624 seconds and 5 git commands to generate.