2014-08-21 David Malcolm <dmalcolm@redhat.com>
* rtl.h (find_first_parameter_load): Strengthen return type from
rtx to rtx_insn *.
* rtlanal.c (find_first_parameter_load): Strengthen return type
from rtx to rtx_insn *. Add checked cast for now, to postpone
strengthening the params.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214252
138bc75d-0d04-0410-961f-
82ee72b054a4
+2014-08-21 David Malcolm <dmalcolm@redhat.com>
+
+ * rtl.h (find_first_parameter_load): Strengthen return type from
+ rtx to rtx_insn *.
+ * rtlanal.c (find_first_parameter_load): Strengthen return type
+ from rtx to rtx_insn *. Add checked cast for now, to postpone
+ strengthening the params.
+
2014-08-21 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR fortran/44054
extern int in_expr_list_p (const_rtx, const_rtx);
extern void remove_node_from_expr_list (const_rtx, rtx *);
extern int loc_mentioned_in_p (rtx *, const_rtx);
-extern rtx find_first_parameter_load (rtx, rtx);
+extern rtx_insn *find_first_parameter_load (rtx, rtx);
extern bool keep_with_call_p (const_rtx);
extern bool label_is_jump_target_p (const_rtx, const_rtx);
extern int insn_rtx_cost (rtx, bool);
found if CSE has eliminated some of them (e.g., an argument
to the outer function is passed down as a parameter).
Do not skip BOUNDARY. */
-rtx
+rtx_insn *
find_first_parameter_load (rtx call_insn, rtx boundary)
{
struct parms_set_data parm;
break;
}
}
- return first_set;
+ return safe_as_a <rtx_insn *> (first_set);
}
/* Return true if we should avoid inserting code between INSN and preceding