diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2023-02-22 10:15:19 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2023-02-22 10:16:31 +0100 |
commit | 334f23d83261997ca89d8919b94b97aa22003a65 (patch) | |
tree | cb87eacc5acdefa0371b15a1ed89a982ac201f72 | |
parent | 320dc51c2d9969f644885cc1afa0d8a924f0ab87 (diff) | |
download | gcc-334f23d83261997ca89d8919b94b97aa22003a65.zip gcc-334f23d83261997ca89d8919b94b97aa22003a65.tar.gz gcc-334f23d83261997ca89d8919b94b97aa22003a65.tar.bz2 |
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.
-rw-r--r-- | gcc/rust/rust-lang.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/rust/rust-lang.cc b/gcc/rust/rust-lang.cc index 75f6b44..3e20c45 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 (); |