aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-09-09 12:16:26 +0000
committerGitHub <noreply@github.com>2021-09-09 12:16:26 +0000
commit4c4241b4c8da925b7f39e0045d3d36fbf71551f8 (patch)
tree1072924ed5bc9dfaee3e8ec4714e6579b5d110ab /gcc
parent52fb10b1e0ffe4f026ad9728c757c5e41ebac865 (diff)
parentbca1debe33bf477df850db5979e4206627b3790b (diff)
downloadgcc-4c4241b4c8da925b7f39e0045d3d36fbf71551f8.zip
gcc-4c4241b4c8da925b7f39e0045d3d36fbf71551f8.tar.gz
gcc-4c4241b4c8da925b7f39e0045d3d36fbf71551f8.tar.bz2
Merge #660
660: Support '-fdump-tree-original' before 'cgraph_node::finalize_function' r=tschwinge a=tschwinge Co-authored-by: Thomas Schwinge <thomas@codesourcery.com>
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;