aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2022-09-22 06:29:20 -0700
committerIan Lance Taylor <iant@golang.org>2022-09-22 06:29:20 -0700
commit795cffe109e28b248a54b8ee583cbae48368c2a7 (patch)
tree0c12b075c51c0d5097f26953835ae540d9f2f501 /gcc/go
parent9f62ed218fa656607740b386c0caa03e65dcd283 (diff)
parentf35be1268c996d993ab0b4ff329734d467474445 (diff)
downloadgcc-795cffe109e28b248a54b8ee583cbae48368c2a7.zip
gcc-795cffe109e28b248a54b8ee583cbae48368c2a7.tar.gz
gcc-795cffe109e28b248a54b8ee583cbae48368c2a7.tar.bz2
Merge from trunk revision f35be1268c996d993ab0b4ff329734d467474445.
Diffstat (limited to 'gcc/go')
-rw-r--r--gcc/go/ChangeLog11
-rw-r--r--gcc/go/go-lang.cc6
-rw-r--r--gcc/go/gofrontend/MERGE2
-rw-r--r--gcc/go/gospec.cc4
4 files changed, 13 insertions, 10 deletions
diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog
index 5dbcb29..43cc2e0 100644
--- a/gcc/go/ChangeLog
+++ b/gcc/go/ChangeLog
@@ -1,3 +1,14 @@
+2022-09-15 Richard Biener <rguenther@suse.de>
+
+ * go-lang.cc (go_langhook_init): Do not initialize
+ void_list_node.
+
+2022-09-02 Martin Liska <mliska@suse.cz>
+
+ * go-lang.cc (go_langhook_pushdecl): Remove -gstabs option support, DBX-related
+ macros and DBX debugging info support.
+ * gospec.cc (lang_specific_driver): Likewise.
+
2022-07-16 Ian Lance Taylor <iant@golang.org>
* go-gcc.cc (Gcc_backend::struct_field_expression): Handle a void
diff --git a/gcc/go/go-lang.cc b/gcc/go/go-lang.cc
index 84cd623..4743370 100644
--- a/gcc/go/go-lang.cc
+++ b/gcc/go/go-lang.cc
@@ -98,9 +98,6 @@ go_langhook_init (void)
{
build_common_tree_nodes (false);
- /* I don't know why this has to be done explicitly. */
- void_list_node = build_tree_list (NULL_TREE, void_type_node);
-
/* We must create the gogo IR after calling build_common_tree_nodes
(because Gogo::define_builtin_function_trees refers indirectly
to, e.g., unsigned_char_type_node) but before calling
@@ -507,8 +504,7 @@ go_langhook_pushdecl (tree decl ATTRIBUTE_UNUSED)
}
/* This hook is used to get the current list of declarations as trees.
- We don't support that; instead we use the write_globals hook. This
- can't simply crash because it is called by -gstabs. */
+ We don't support that; instead we use the write_globals hook. */
static tree
go_langhook_getdecls (void)
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 2f2fafd..f7a7985 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-a62f20ae78ddd41be682dde8cab075ca4f5dbb2a
+42efec8c126cf3787bc7c89d9c7f224eff7c5a21
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
diff --git a/gcc/go/gospec.cc b/gcc/go/gospec.cc
index df92b62..1e51407 100644
--- a/gcc/go/gospec.cc
+++ b/gcc/go/gospec.cc
@@ -215,11 +215,7 @@ lang_specific_driver (struct cl_decoded_option **in_decoded_options,
case OPT_gdwarf:
case OPT_gdwarf_:
case OPT_ggdb:
- case OPT_gstabs:
- case OPT_gstabs_:
case OPT_gvms:
- case OPT_gxcoff:
- case OPT_gxcoff_:
saw_opt_g = true;
break;