diff options
author | Charles Baylis <charles.baylis@linaro.org> | 2015-09-02 15:24:54 +0000 |
---|---|---|
committer | Charles Baylis <cbaylis@gcc.gnu.org> | 2015-09-02 15:24:54 +0000 |
commit | ce8bdcefc527fdf027c4d65454357d6cf9b73905 (patch) | |
tree | 2ea34a4f9c21074d2598669b2c230c38516f8b25 /gcc/cgraphunit.c | |
parent | 1b0b9fcb928042bf30fb2e42247912d226f85513 (diff) | |
download | gcc-ce8bdcefc527fdf027c4d65454357d6cf9b73905.zip gcc-ce8bdcefc527fdf027c4d65454357d6cf9b73905.tar.gz gcc-ce8bdcefc527fdf027c4d65454357d6cf9b73905.tar.bz2 |
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
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index be16f5d..278515d 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); |