* c-common.c (c_do_switch_warnings): Comment fix.

From-SVN: r96150
This commit is contained in:
Ben Elliston 2005-03-09 00:42:55 +00:00 committed by Ben Elliston
parent 0cbb117e8c
commit b735d54b7a
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-03-09 Ben Elliston <bje@au.ibm.com>
* c-common.c (c_do_switch_warnings): Comment fix.
2005-03-08 Julian Brown <julian@codesourcery.com>
* Patch from 2005-03-08 reverted for causing regressions and

View File

@ -3698,7 +3698,7 @@ match_case_to_enum (splay_tree_node node, void *data)
/* Handle -Wswitch*. Called from the front end after parsing the switch
construct. */
/* ??? Should probably be somewhere generic, since other languages besides
C and C++ would want this. We'd want to agree on the datastructure,
C and C++ would want this. We'd want to agree on the data structure,
however, which is a problem. Alternately, we operate on gimplified
switch_exprs, which I don't especially like. At the moment, however,
C/C++ are the only tree-ssa languages that support enumerations at all,