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] tree-cfg.c, config/s390/tpf-unwind.h: Fix comment typos.


Hi,

Committed as obvious.

Kazu Hirata

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

	* tree-cfg.c, config/s390/tpf-unwind.h: Fix comment typos.

Index: tree-cfg.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-cfg.c,v
retrieving revision 2.63
diff -u -r2.63 tree-cfg.c
--- tree-cfg.c	2 Oct 2004 02:00:51 -0000	2.63
+++ tree-cfg.c	2 Oct 2004 12:42:39 -0000
@@ -954,7 +954,7 @@
 	  tree default_case = TREE_VEC_ELT (labels, old_size - 1);
  	  tree default_label;
 
-	  /* The default lable is always the last case in a switch
+	  /* The default label is always the last case in a switch
 	     statement after gimplification.  */
 	  default_label = CASE_LABEL (default_case);
 
Index: config/s390/tpf-unwind.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/s390/tpf-unwind.h,v
retrieving revision 1.1
diff -u -r1.1 tpf-unwind.h
--- config/s390/tpf-unwind.h	2 Oct 2004 00:47:06 -0000	1.1
+++ config/s390/tpf-unwind.h	2 Oct 2004 12:42:40 -0000
@@ -123,7 +123,7 @@
 /* Function Name: __tpf_eh_return
    Parameters passed into it: Destination address to jump to.
    Return Value: Converted Destination address if a Pat Stub exists.
-   Description: This function swaps the uwinding return address
+   Description: This function swaps the unwinding return address
       with the cp stub code.  The original target return address is
       then stored into the tpf return address field.  The cp stub
       code is searched for by climbing back up the stack and
@@ -231,7 +231,7 @@
                      the exception handling unwinder so that it can 
                      actually do the "leap" shift out the low order 
                      bit designated to determine if we are in 64BIT mode.
-                     This is nececcary for CTOA stubs.
+                     This is necessary for CTOA stubs.
                      Otherwise we leap one byte past where we want to 
                      go to in the TPF pat stub linkage code.  */
                   shifter = *((unsigned long int *) 


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