aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-03-09 00:42:55 +0000
committerBen Elliston <bje@gcc.gnu.org>2005-03-09 11:42:55 +1100
commitb735d54b7a3eb3446a161ed162d422ee32a5b6b6 (patch)
treefdc4920199c6a8bd4b34ef2f3dc846486d9e7ac0 /gcc
parent0cbb117e8cdf7bbf29ed1ab687abdf1b8d167d72 (diff)
downloadgcc-b735d54b7a3eb3446a161ed162d422ee32a5b6b6.zip
gcc-b735d54b7a3eb3446a161ed162d422ee32a5b6b6.tar.gz
gcc-b735d54b7a3eb3446a161ed162d422ee32a5b6b6.tar.bz2
* c-common.c (c_do_switch_warnings): Comment fix.
From-SVN: r96150
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/c-common.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1f052fc..938d7e3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/c-common.c b/gcc/c-common.c
index e658cf1..d26c8b1 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,