From: cbaylis Date: Wed, 2 Sep 2015 15:24:54 +0000 (+0000) Subject: gcc/Changelog X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=519627d346694305aa677dfeca6ad391714f1f1e;p=thirdparty%2Fgcc.git gcc/Changelog * cgraphunit.c (cgraph_node::create_wrapper): Set can_throw_external in new callgraph edge. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227407 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8ae96fe9d29a..77fb2c110846 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-09-02 Charles Baylis + + * cgraphunit.c (cgraph_node::create_wrapper): Set can_throw_external + in new callgraph edge. + 2015-09-02 Christophe Lyon PR target/59810 diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index be16f5d0d045..278515da0968 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -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);