diff options
author | Richard Biener <rguenther@suse.de> | 2022-09-14 15:59:37 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-09-15 14:16:25 +0200 |
commit | 8ff2a92a0450243e52d3299a13b30f208bafa7e0 (patch) | |
tree | 87720f77ed71647fb88fa102343e30c1eea649ee /gcc/jit | |
parent | e3220adc444b00d6fd6e8775565222f65fd37138 (diff) | |
download | gcc-8ff2a92a0450243e52d3299a13b30f208bafa7e0.zip gcc-8ff2a92a0450243e52d3299a13b30f208bafa7e0.tar.gz gcc-8ff2a92a0450243e52d3299a13b30f208bafa7e0.tar.bz2 |
Move void_list_node init to common code
All frontends replicate this, so move it.
gcc/
* tree.cc (build_common_tree_nodes): Initialize void_list_node
here.
gcc/ada/
* gcc-interface/trans.cc (gigi): Do not initialize void_list_node.
gcc/c-family/
* c-common.h (build_void_list_node): Remove.
* c-common.cc (c_common_nodes_and_builtins): Do not initialize
void_list_node.
gcc/c/
* c-decl.cc (build_void_list_node): Remove.
gcc/cp/
* decl.cc (cxx_init_decl_processing): Inline last
build_void_list_node call.
(build_void_list_node): Remove.
gcc/d/
* d-builtins.cc (d_build_c_type_nodes): Do not initialize
void_list_node.
gcc/fortran/
* f95-lang.cc (gfc_init_decl_processing): Do not initialize
void_list_node.
gcc/go/
* go-lang.cc (go_langhook_init): Do not initialize
void_list_node.
gcc/jit/
* dummy-frontend.cc (jit_langhook_init): Do not initialize
void_list_node.
gcc/lto/
* lto-lang.cc (lto_build_c_type_nodes): Do not initialize
void_list_node.
Diffstat (limited to 'gcc/jit')
-rw-r--r-- | gcc/jit/dummy-frontend.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/jit/dummy-frontend.cc b/gcc/jit/dummy-frontend.cc index 84ff359..0687567 100644 --- a/gcc/jit/dummy-frontend.cc +++ b/gcc/jit/dummy-frontend.cc @@ -594,9 +594,6 @@ jit_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); - build_common_builtin_nodes (); /* The default precision for floating point numbers. This is used |