public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-6272] Rust: Move void_list_node init to common code
@ 2023-02-22  9:18 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2023-02-22  9:18 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:334f23d83261997ca89d8919b94b97aa22003a65

commit r13-6272-g334f23d83261997ca89d8919b94b97aa22003a65
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Wed Feb 22 10:15:19 2023 +0100

    Rust: Move void_list_node init to common code
    
    Apply commit r13-2682-g8ff2a92a0450243e52d3299a13b30f208bafa7e0
    "Move void_list_node init to common code" to the Rust front end, too.
    
            gcc/rust/
            * rust-lang.cc (grs_langhook_init): Do not initialize
            void_list_node.

Diff:
---
 gcc/rust/rust-lang.cc | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/gcc/rust/rust-lang.cc b/gcc/rust/rust-lang.cc
index 75f6b4458d7..3e20c45d907 100644
--- a/gcc/rust/rust-lang.cc
+++ b/gcc/rust/rust-lang.cc
@@ -123,10 +123,6 @@ grs_langhook_init (void)
    whether char is signed.  */
   build_common_tree_nodes (false);
 
-  // Creates a new TREE_LIST node with purpose NULL_TREE and value
-  // void_type_node
-  void_list_node = build_tree_list (NULL_TREE, void_type_node);
-
   // Builds built-ins for middle-end after all front-end built-ins are already
   // instantiated
   build_common_builtin_nodes ();

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-22  9:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-22  9:18 [gcc r13-6272] Rust: Move void_list_node init to common code Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).