http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12081
--- Comment #31 from Oleg Endo <olegendo at gcc dot gnu.org> --- Author: olegendo Date: Thu Aug 29 18:37:46 2013 New Revision: 202083 URL: http://gcc.gnu.org/viewcvs?rev=202083&root=gcc&view=rev Log: Backport from mainline 2013-08-05 Oleg Endo <olege...@gcc.gnu.org> PR other/12081 * recog.h (rtx (*insn_gen_fn) (rtx, ...)): Replace typedef with new class insn_gen_fn. * expr.c (move_by_pieces_1, store_by_pieces_2): Replace argument rtx (*) (rtx, ...) with insn_gen_fn. * genoutput.c (output_insn_data): Cast gen_? function pointers to insn_gen_fn::stored_funcptr. Add initializer braces. Backport from mainline 2013-08-07 Oleg Endo <olege...@gcc.gnu.org> PR other/12081 * config/rs6000/rs6000.c (gen_2arg_fn_t): Remove typedef. (rs6000_emit_swdiv_high_precision, rs6000_emit_swdiv_low_precision, rs6000_emit_swrsqrt): Don't cast result of GEN_FCN to gen_2arg_fn_t. Modified: branches/gcc-4_8-branch/gcc/ChangeLog branches/gcc-4_8-branch/gcc/config/rs6000/rs6000.c branches/gcc-4_8-branch/gcc/expr.c branches/gcc-4_8-branch/gcc/genoutput.c branches/gcc-4_8-branch/gcc/recog.h