Re: [PATCH] Update decls in genemit.c

2015-07-20 Thread Marek Polacek
On Mon, Jul 20, 2015 at 04:10:33PM +0200, Marek Polacek wrote: > 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 > triv

[PATCH] Update decls in genemit.c

2015-07-20 Thread Marek Polacek
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-l