Strengthen return_label and naked_return_label to rtx_code_label *
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 28 Aug 2014 19:01:18 +0000 (19:01 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Thu, 28 Aug 2014 19:01:18 +0000 (19:01 +0000)
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

gcc/ChangeLog
gcc/function.h

index 4db8b4f..813b5c7 100644 (file)
@@ -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 **).
index 1f8da7a..c2e0366 100644 (file)
@@ -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.  */