diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-28 19:01:18 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-28 19:01:18 +0000 |
commit | f48bd60e3a778f262e0ac26b9678ab60012fb780 (patch) | |
tree | 5b991e76e07626403633f5e75837df8f03551875 /gcc | |
parent | e6eda746185997c7c42ee8691761cb7c3c7d0ce1 (diff) | |
download | gcc-f48bd60e3a778f262e0ac26b9678ab60012fb780.zip gcc-f48bd60e3a778f262e0ac26b9678ab60012fb780.tar.gz gcc-f48bd60e3a778f262e0ac26b9678ab60012fb780.tar.bz2 |
Strengthen return_label and naked_return_label to rtx_code_label *
gcc/
2014-08-28 David Malcolm <dmalcolm@redhat.com>
* function.h (struct rtl_data): Strengthen fields "x_return_label"
and "x_naked_return_label" from rtx to rtx_code_label *.
From-SVN: r214686
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/function.h | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4db8b4f..813b5c7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2014-08-28 David Malcolm <dmalcolm@redhat.com> + * function.h (struct rtl_data): Strengthen fields "x_return_label" + and "x_naked_return_label" from rtx to rtx_code_label *. + +2014-08-28 David Malcolm <dmalcolm@redhat.com> + * rtl.h (SET_PREV_INSN): Strengthen param from rtx to rtx_insn *. (SET_NEXT_INSN): Likewise. (gen_rtvec_v): Add an overload for param types (int, rtx_insn **). diff --git a/gcc/function.h b/gcc/function.h index 1f8da7a..c2e0366 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -271,12 +271,12 @@ struct GTY(()) rtl_data { /* Label that will go on function epilogue. Jumping to this label serves as a "return" instruction on machines which require execution of the epilogue on all returns. */ - rtx x_return_label; + rtx_code_label *x_return_label; /* Label that will go on the end of function epilogue. Jumping to this label serves as a "naked return" instruction on machines which require execution of the epilogue on all returns. */ - rtx x_naked_return_label; + rtx_code_label *x_naked_return_label; /* List (chain of EXPR_LISTs) of all stack slots in this function. Made for the sake of unshare_all_rtl. */ |