mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
1b0b9fcb92
commit
ce8bdcefc5
|
|
@ -1,3 +1,8 @@
|
|||
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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue