Since r225883, genemit.c's gen_insn/gen_expand/gen_split have a parameter of type md_rtx_info *, not rtx, but the function prototypes weren't updated, which results into 'declared but never defined' warnings. The following trivial patch updates the declarations.
Bootstrapped/regtested on x86_64-linux, ok for trunk? 2015-07-20 Marek Polacek <pola...@redhat.com> * genemit.c (gen_insn, gen_expand, gen_split): Update declaration. diff --git gcc/genemit.c gcc/genemit.c index 2d2fb62..2fa2062 100644 --- gcc/genemit.c +++ gcc/genemit.c @@ -51,9 +51,9 @@ struct clobber_ent static void print_code (RTX_CODE); static void gen_exp (rtx, enum rtx_code, char *); -static void gen_insn (rtx, int); -static void gen_expand (rtx); -static void gen_split (rtx); +static void gen_insn (md_rtx_info *); +static void gen_expand (md_rtx_info *); +static void gen_split (md_rtx_info *); static void output_add_clobbers (void); static void output_added_clobbers_hard_reg_p (void); static void gen_rtx_scratch (rtx, enum rtx_code); Marek