diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2015-07-13 04:46:34 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2015-07-13 04:46:34 +0000 |
commit | 026c3cfd5e92e7f358290921984b57e1b433e658 (patch) | |
tree | b334918063791e89f97a111eb02e3d0c9f8a766e /gcc/go | |
parent | 7e8ce0f35920ca44b790a742ab1e5058034c7fc2 (diff) | |
download | gcc-026c3cfd5e92e7f358290921984b57e1b433e658.zip gcc-026c3cfd5e92e7f358290921984b57e1b433e658.tar.gz gcc-026c3cfd5e92e7f358290921984b57e1b433e658.tar.bz2 |
Fix double word typos.
From-SVN: r225726
Diffstat (limited to 'gcc/go')
-rw-r--r-- | gcc/go/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/go/gofrontend/backend.h | 2 | ||||
-rw-r--r-- | gcc/go/gofrontend/expressions.cc | 2 | ||||
-rw-r--r-- | gcc/go/gospec.c | 2 |
4 files changed, 9 insertions, 3 deletions
diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog index d7638ee..b95aeb3 100644 --- a/gcc/go/ChangeLog +++ b/gcc/go/ChangeLog @@ -1,3 +1,9 @@ +2015-07-12 Aldy Hernandez <aldyh@redhat.com> + + * gofrontend/backend.h: Fix double word typos. + * gofrontend/expressions.cc: Same. + * gospec.c: Same. + 2015-07-07 Andrew MacLeod <amacleod@redhat.com> * go-backend.c: Adjust includes. diff --git a/gcc/go/gofrontend/backend.h b/gcc/go/gofrontend/backend.h index 01540b0..5593fcb 100644 --- a/gcc/go/gofrontend/backend.h +++ b/gcc/go/gofrontend/backend.h @@ -658,7 +658,7 @@ class Backend // Create a new label. NAME will be empty if this is a label // created by the frontend for a loop construct. The location is - // where the the label is defined. + // where the label is defined. virtual Blabel* label(Bfunction*, const std::string& name, Location) = 0; diff --git a/gcc/go/gofrontend/expressions.cc b/gcc/go/gofrontend/expressions.cc index 05ab42b..c9ba988 100644 --- a/gcc/go/gofrontend/expressions.cc +++ b/gcc/go/gofrontend/expressions.cc @@ -2475,7 +2475,7 @@ Complex_expression::do_get_backend(Translate_context* context) } else { - // If we still have an abstract type here, this this is being + // If we still have an abstract type here, this is being // used in a constant expression which didn't get reduced. We // just use complex128 and hope for the best. resolved_type = Type::lookup_complex_type("complex128"); diff --git a/gcc/go/gospec.c b/gcc/go/gospec.c index 4654898..9ccbe75 100644 --- a/gcc/go/gospec.c +++ b/gcc/go/gospec.c @@ -386,7 +386,7 @@ lang_specific_driver (struct cl_decoded_option **in_decoded_options, relative ordering of -lpthread and -lgcc, we can't just mark __real_pthread_create in libgcc as non-weak. But we need to link in pthread_create from pthread if we are statically linking, so we work- - around by passing -u pthread_create to to the linker. */ + around by passing -u pthread_create to the linker. */ if (static_link) { generate_option (OPT_Wl_, "-u,pthread_create", 1, CL_DRIVER, |