From b735d54b7a3eb3446a161ed162d422ee32a5b6b6 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Wed, 9 Mar 2005 00:42:55 +0000 Subject: [PATCH] * c-common.c (c_do_switch_warnings): Comment fix. From-SVN: r96150 --- gcc/ChangeLog | 4 ++++ gcc/c-common.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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,