diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2018-06-27 10:26:06 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2018-06-27 10:26:06 +0000 |
commit | ed510b16a0b305327e0befcace5deb2cc28f18f1 (patch) | |
tree | 403b740f71ddce039cf19e3d7a3abbf59d6a183d /gcc/cgraphunit.c | |
parent | 1765b0231029c0479ddcf5d54e8f4882c5feda94 (diff) | |
download | gcc-ed510b16a0b305327e0befcace5deb2cc28f18f1.zip gcc-ed510b16a0b305327e0befcace5deb2cc28f18f1.tar.gz gcc-ed510b16a0b305327e0befcace5deb2cc28f18f1.tar.bz2 |
gimple.h (gimple_return_retbnd): Delete.
* gimple.h (gimple_return_retbnd): Delete.
(gimple_return_set_retbnd): Likewise.
* cgraphunit.c (cgraph_node::expand_thunk): Remove call to
gimple_return_set_retbnd.
* gimple-pretty-print.c (dump_gimple_return): Remove call to
gimple_return_retbnd and adjust.
* tree-inline.h (struct copy_body_data): Remove retbnd field.
* tree-inline.c (remap_gimple_stmt): Remove handling of retbnd.
Explicitly return NULL in a couple more cases. Move assertion
on debug statements and remove unreachable code.
(reset_debug_binding): Do not test id->retbnd.
(expand_call_inline): Do not set it.
From-SVN: r262181
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 7cfb8a0..3c811c4 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -1803,7 +1803,6 @@ cgraph_node::expand_thunk (bool output_asm_thunks, bool force_gimple_thunk) int i; tree resdecl; tree restmp = NULL; - tree resbnd = NULL; gcall *call; greturn *ret; @@ -1994,7 +1993,6 @@ cgraph_node::expand_thunk (bool output_asm_thunks, bool force_gimple_thunk) ret = gimple_build_return (restmp); else ret = gimple_build_return (resdecl); - gimple_return_set_retbnd (ret, resbnd); gsi_insert_after (&bsi, ret, GSI_NEW_STMT); } |