aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-10-02 12:47:11 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-10-02 12:47:11 +0000
commit66efeafc2ee0d483d6a50f6f1f8a53d07bcbb660 (patch)
tree7a2225cd341d3f4854bc9c32b6ea90543b1e27d4 /gcc
parent3d47e9caa973bedd3344b50d5c4b2ae80e809563 (diff)
downloadgcc-66efeafc2ee0d483d6a50f6f1f8a53d07bcbb660.zip
gcc-66efeafc2ee0d483d6a50f6f1f8a53d07bcbb660.tar.gz
gcc-66efeafc2ee0d483d6a50f6f1f8a53d07bcbb660.tar.bz2
* tree-cfg.c, config/s390/tpf-unwind.h: Fix comment typos.
From-SVN: r88424
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/s390/tpf-unwind.h4
-rw-r--r--gcc/tree-cfg.c2
3 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9dbb7fe..02ce00f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2004-10-02 Kazu Hirata <kazu@cs.umass.edu>
+ * tree-cfg.c, config/s390/tpf-unwind.h: Fix comment typos.
+
+2004-10-02 Kazu Hirata <kazu@cs.umass.edu>
+
* tree-cfg.c (cleanup_tree_cfg): Speed up by calling
delete_unrechable_blocks() only when necessary.
diff --git a/gcc/config/s390/tpf-unwind.h b/gcc/config/s390/tpf-unwind.h
index 6f2ccd9..6c584ac 100644
--- a/gcc/config/s390/tpf-unwind.h
+++ b/gcc/config/s390/tpf-unwind.h
@@ -123,7 +123,7 @@ s390_fallback_frame_state (struct _Unwind_Context *context,
/* 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 @@ __tpf_eh_return (void *target)
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 *)
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index 6919fac..dde9aee 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -954,7 +954,7 @@ group_case_labels (void)
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);