diff options
author | Steven Bosscher <stevenb@suse.de> | 2004-12-08 00:12:03 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2004-12-08 00:12:03 +0000 |
commit | 02fbae83425bb4036cc58963e05460af2e395585 (patch) | |
tree | 201a6333e6bc0735dfcd4a3615016230541afc32 /gcc/tree-pretty-print.c | |
parent | 665fcad835bb6ac9d2d41077bd74b8ba66ebfecc (diff) | |
download | gcc-02fbae83425bb4036cc58963e05460af2e395585.zip gcc-02fbae83425bb4036cc58963e05460af2e395585.tar.gz gcc-02fbae83425bb4036cc58963e05460af2e395585.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-pretty-print.c')
0 files changed, 0 insertions, 0 deletions