Commit ce8bdcef by Charles Baylis Committed by Charles Baylis

cgraphunit.c (cgraph_node::create_wrapper): Set can_throw_external in new callgraph edge.

gcc/Changelog

        * cgraphunit.c (cgraph_node::create_wrapper): Set can_throw_external
        in new callgraph edge.

From-SVN: r227407
parent 1b0b9fcb
2015-09-02 Charles Baylis <charles.baylis@linaro.org>
* cgraphunit.c (cgraph_node::create_wrapper): Set can_throw_external
in new callgraph edge.
2015-09-02 Christophe Lyon <christophe.lyon@linaro.org>
PR target/59810
......
......@@ -2543,6 +2543,7 @@ cgraph_node::create_wrapper (cgraph_node *target)
memset (&thunk, 0, sizeof (cgraph_thunk_info));
thunk.thunk_p = true;
create_edge (target, NULL, count, CGRAPH_FREQ_BASE);
callees->can_throw_external = !TREE_NOTHROW (target->decl);
tree arguments = DECL_ARGUMENTS (decl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment