From 4ee31f1e477ffd0354f1322970d6c09ae580f665 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 29 Feb 2004 22:02:30 +0000 Subject: [PATCH] passes.c, [...]: Fix comment typos. gcc/ * passes.c, config/frv/frv.c, config/sh/sh.c: Fix comment typos. * doc/cppopts.texi: Fix a typo. gcc/cp/ * call.c: Fix a comment typo. From-SVN: r78676 --- gcc/ChangeLog | 6 ++++++ gcc/config/frv/frv.c | 2 +- gcc/config/sh/sh.c | 2 +- gcc/cp/ChangeLog | 4 ++++ gcc/cp/call.c | 2 +- gcc/doc/cppopts.texi | 2 +- gcc/passes.c | 2 +- 7 files changed, 15 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b9b683d8250..f3a3a5c09ae 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-02-29 Kazu Hirata + + * passes.c, config/frv/frv.c, config/sh/sh.c: Fix comment + typos. + * doc/cppopts.texi: Fix a typo. + 2004-02-29 Kazu Hirata * config/i386/i386.md: Fix formatting. diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c index 1feb2793f44..c5ea7f343f9 100644 --- a/gcc/config/frv/frv.c +++ b/gcc/config/frv/frv.c @@ -5447,7 +5447,7 @@ frv_emit_movsi (rtx dest, rtx src) With -fpie/-fpic, we'd be trading a single load for a sequence of 4 instructions, because the offset of the - label can't be assumed to be addressible with 12 bits, so + label can't be assumed to be addressable with 12 bits, so we don't do this. */ if (TARGET_GPREL_RO) unspec = R_FRV_GPREL12; diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 425ab4c1e13..2dc1d5cb5a6 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -8562,7 +8562,7 @@ sh_md_init (FILE *dump ATTRIBUTE_UNUSED, functions that already have high pressure on r0. */ #define R0_MAX_LIFE_REGIONS 2 #define R0_MAX_LIVE_LENGTH 12 -/* Register Pressure threshols for SImode and SFmode registers. */ +/* Register Pressure thresholds for SImode and SFmode registers. */ #define SIMODE_MAX_WEIGHT 5 #define SFMODE_MAX_WEIGHT 10 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 77a68bdbafc..2c05b719ca1 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2004-02-29 Kazu Hirata + + * call.c: Fix a comment typo. + 2004-02-27 Ziemowit Laski * tree.c (pod_type_p): Treat VECTOR_TYPEs as PODs. diff --git a/gcc/cp/call.c b/gcc/cp/call.c index 70783dc75f6..b8b7b7ae11d 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -3268,7 +3268,7 @@ build_conditional_expr (tree arg1, tree arg2, tree arg3) conversion to "volatile X", what is the type of the second operand after this step? Making it be "const X" (matching the first operand) seems wrong, as that discards the - qualification without actuall performing a copy. Leaving it + qualification without actually performing a copy. Leaving it as "volatile X" seems wrong as that will result in the conditional expression failing altogether, even though, according to this step, the one operand could be converted to diff --git a/gcc/doc/cppopts.texi b/gcc/doc/cppopts.texi index 4649e6ec8f2..fb8f5c72122 100644 --- a/gcc/doc/cppopts.texi +++ b/gcc/doc/cppopts.texi @@ -516,7 +516,7 @@ problems with encodings that do not fit exactly in @code{wchar_t}. Set the input character set, used for translation from the character set of the input file to the source character set used by GCC. If the locale does not specify, or GCC cannot get this information from the -locale, the default is UTF-8. This can be overriden by either the locale +locale, the default is UTF-8. This can be overridden by either the locale or this command line option. Currently the command line option takes precedence if there's a conflict. @var{charset} can be any encoding supported by the system's @code{iconv} library routine. diff --git a/gcc/passes.c b/gcc/passes.c index 59de3af40e7..1b012772f4b 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -774,7 +774,7 @@ rest_of_handle_sched2 (tree decl, rtx insns) { schedule_ebbs (dump_file); /* No liveness updating code yet, but it should be easy to do. - reg-stack recompute the liveness when needed for now. */ + reg-stack recomputes the liveness when needed for now. */ count_or_remove_death_notes (NULL, 1); cleanup_cfg (CLEANUP_EXPENSIVE); }