aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2021-09-09 13:20:23 +0200
committerThomas Schwinge <thomas@codesourcery.com>2021-09-09 13:26:41 +0200
commitbca1debe33bf477df850db5979e4206627b3790b (patch)
tree1072924ed5bc9dfaee3e8ec4714e6579b5d110ab /gcc
parent52fb10b1e0ffe4f026ad9728c757c5e41ebac865 (diff)
downloadgcc-bca1debe33bf477df850db5979e4206627b3790b.zip
gcc-bca1debe33bf477df850db5979e4206627b3790b.tar.gz
gcc-bca1debe33bf477df850db5979e4206627b3790b.tar.bz2
Support '-fdump-tree-original' before 'cgraph_node::finalize_function'
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/rust-gcc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rust/rust-gcc.cc b/gcc/rust/rust-gcc.cc
index 7cb1d52..1edb7f1 100644
--- a/gcc/rust/rust-gcc.cc
+++ b/gcc/rust/rust-gcc.cc
@@ -3558,6 +3558,7 @@ Gcc_backend::write_global_definitions (
rust_preserve_from_gc (decl);
if (DECL_STRUCT_FUNCTION (decl) == NULL)
allocate_struct_function (decl, false);
+ dump_function (TDI_original, decl);
cgraph_node::finalize_function (decl, true);
defs[i] = decl;