aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-01-18 15:25:04 +0100
committerMartin Liska <mliska@suse.cz>2022-01-18 15:25:04 +0100
commit929c31a9d1f9741115465d7591f29ef31f96f362 (patch)
tree71baf7aeed74b6405c62b83b7c128b4d70084b8f /gcc/go
parent6ab1963fc8f70a07dc8566f8b6ad317b40ab379d (diff)
parent7402e40a2e2f5eac4489d28ac696e15c88c07f51 (diff)
downloadgcc-929c31a9d1f9741115465d7591f29ef31f96f362.zip
gcc-929c31a9d1f9741115465d7591f29ef31f96f362.tar.gz
gcc-929c31a9d1f9741115465d7591f29ef31f96f362.tar.bz2
Merge branch 'master' into devel/sphinx
Diffstat (limited to 'gcc/go')
-rw-r--r--gcc/go/ChangeLog17
-rw-r--r--gcc/go/config-lang.in2
-rw-r--r--gcc/go/go-backend.cc (renamed from gcc/go/go-backend.c)2
-rw-r--r--gcc/go/go-lang.cc (renamed from gcc/go/go-lang.c)2
-rw-r--r--gcc/go/gospec.cc (renamed from gcc/go/gospec.c)2
-rw-r--r--gcc/go/lang-specs.h2
6 files changed, 22 insertions, 5 deletions
diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog
index 31b91ba..b996df8 100644
--- a/gcc/go/ChangeLog
+++ b/gcc/go/ChangeLog
@@ -1,3 +1,20 @@
+2022-01-17 Martin Liska <mliska@suse.cz>
+
+ * config-lang.in: Rename .c names to .cc.
+ * go-backend.cc: Likewise.
+ * go-lang.cc: Likewise.
+ * gospec.cc: Likewise.
+ * lang-specs.h: Likewise.
+
+2022-01-17 Martin Liska <mliska@suse.cz>
+
+ * go-backend.c: Moved to...
+ * go-backend.cc: ...here.
+ * go-lang.c: Moved to...
+ * go-lang.cc: ...here.
+ * gospec.c: Moved to...
+ * gospec.cc: ...here.
+
2022-01-03 Jakub Jelinek <jakub@redhat.com>
* gccgo.texi: Bump @copyrights-go year.
diff --git a/gcc/go/config-lang.in b/gcc/go/config-lang.in
index 4a026d3..19fdbc3 100644
--- a/gcc/go/config-lang.in
+++ b/gcc/go/config-lang.in
@@ -31,7 +31,7 @@ compilers="go1\$(exeext)"
target_libs="target-libgo target-libffi target-libbacktrace"
lang_dirs="gotools"
-gtfiles="\$(srcdir)/go/go-lang.c \$(srcdir)/go/go-c.h"
+gtfiles="\$(srcdir)/go/go-lang.cc \$(srcdir)/go/go-c.h"
# Do not build by default.
build_by_default="no"
diff --git a/gcc/go/go-backend.c b/gcc/go/go-backend.cc
index c82c425..7eed943 100644
--- a/gcc/go/go-backend.c
+++ b/gcc/go/go-backend.cc
@@ -1,4 +1,4 @@
-/* go-backend.c -- Go frontend interface to gcc backend.
+/* go-backend.cc -- Go frontend interface to gcc backend.
Copyright (C) 2010-2022 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/gcc/go/go-lang.c b/gcc/go/go-lang.cc
index 740167b..c8365d2 100644
--- a/gcc/go/go-lang.c
+++ b/gcc/go/go-lang.cc
@@ -1,4 +1,4 @@
-/* go-lang.c -- Go frontend gcc interface.
+/* go-lang.cc -- Go frontend gcc interface.
Copyright (C) 2009-2022 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/gcc/go/gospec.c b/gcc/go/gospec.cc
index daa6ce4..df92b62 100644
--- a/gcc/go/gospec.c
+++ b/gcc/go/gospec.cc
@@ -1,4 +1,4 @@
-/* gospec.c -- Specific flags and argument handling of the gcc Go front end.
+/* gospec.cc -- Specific flags and argument handling of the gcc Go front end.
Copyright (C) 2009-2022 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/gcc/go/lang-specs.h b/gcc/go/lang-specs.h
index 1a76f3b..0c6005a 100644
--- a/gcc/go/lang-specs.h
+++ b/gcc/go/lang-specs.h
@@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
-/* This is the contribution to the `default_compilers' array in gcc.c
+/* This is the contribution to the `default_compilers' array in gcc.cc
for the Go language. */
{".go", "@go", 0, 1, 0},