diff options
author | Patrick Marlier <patrick.marlier@gmail.com> | 2011-12-01 17:46:32 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2011-12-01 09:46:32 -0800 |
commit | b0d0a2918f405c52d9b6893d3c4ed77e5d659a06 (patch) | |
tree | a4973a44ce2955c57be0c74167826201cb5f1f87 /gcc/cgraph.c | |
parent | fdb415fe091cf23d7e816d72de95a0c40e47380d (diff) | |
download | gcc-b0d0a2918f405c52d9b6893d3c4ed77e5d659a06.zip gcc-b0d0a2918f405c52d9b6893d3c4ed77e5d659a06.tar.gz gcc-b0d0a2918f405c52d9b6893d3c4ed77e5d659a06.tar.bz2 |
re PR middle-end/51273 (ICE: vector VEC(inline_summary_t,base) index domain error, in inline_summary at ipa-inline.h:193 with -O -fgnu-tm, transaction_safe and overloaded contructor)
PR middle-end/51273
* cgraph.h (cgraph_call_node_duplication_hooks): Declare.
* cgraph.c (cgraph_call_node_duplication_hooks): Make global.
* cgraphunit.c (cgraph_copy_node_for_versioning): Call it.
From-SVN: r181887
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 44a950c..ac516ab 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -412,7 +412,7 @@ cgraph_remove_node_duplication_hook (struct cgraph_2node_hook_list *entry) } /* Call all node duplication hooks. */ -static void +void cgraph_call_node_duplication_hooks (struct cgraph_node *node1, struct cgraph_node *node2) { |