]> gcc.gnu.org Git - gcc.git/commit
re PR c/18867 (ICE on invalid switch quantity)
authorSteven Bosscher <stevenb@suse.de>
Wed, 8 Dec 2004 00:12:03 +0000 (00:12 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Wed, 8 Dec 2004 00:12:03 +0000 (00:12 +0000)
commit02fbae83425bb4036cc58963e05460af2e395585
tree201a6333e6bc0735dfcd4a3615016230541afc32
parent665fcad835bb6ac9d2d41077bd74b8ba66ebfecc
re PR c/18867 (ICE on invalid switch quantity)

        PR c/18867
        * c-typeck.c (c_start_case): Set orig_type to error_mark_node
        when the type of the controlling expression is not a valid type.

testsuite/
        * gcc.dg/noncompile/20041207.c: New test.

From-SVN: r91837
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/noncompile/20041207.c [new file with mode: 0644]
This page took 0.053801 seconds and 5 git commands to generate.