From: bje Date: Wed, 9 Mar 2005 00:42:55 +0000 (+0000) Subject: * c-common.c (c_do_switch_warnings): Comment fix. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=891fa73ee27f2c67bc2ffbabcbf42c96c6ed716c;p=thirdparty%2Fgcc.git * c-common.c (c_do_switch_warnings): Comment fix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96150 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1f052fc9d29e..938d7e3b436e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-03-09 Ben Elliston + + * c-common.c (c_do_switch_warnings): Comment fix. + 2005-03-08 Julian Brown * Patch from 2005-03-08 reverted for causing regressions and diff --git a/gcc/c-common.c b/gcc/c-common.c index e658cf12e7b4..d26c8b1452d7 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -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,