This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] stmt.c: Remove an obsolete comment.


Hi,

Attached is a patch to remove an obsolete comment.

At least in gcc-2.95.3, we used convert() to convert case values, but
these days we don't.

Committed as obvious.

Kazu Hirata

2004-10-25  Kazu Hirata  <kazu@cs.umass.edu>

	* stmt.c (expand_case): Remove an obsolete comment.

Index: stmt.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/stmt.c,v
retrieving revision 1.402
diff -u -p -r1.402 stmt.c
--- stmt.c	24 Oct 2004 00:46:10 -0000	1.402
+++ stmt.c	25 Oct 2004 15:56:10 -0000
@@ -2384,8 +2384,7 @@ expand_case (tree exp)
 
       before_case = get_last_insn ();
 
-      /* Get upper and lower bounds of case values.
-	 Also convert all the case values to the index expr's data type.  */
+      /* Get upper and lower bounds of case values.  */
 
       uniq = 0;
       count = 0;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]