http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12081
Oleg Endo <olegendo at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|target |other
--- Comment #26 from Oleg Endo <olegendo at gcc dot gnu.org> ---
I don't think this is a 'target' issue, changed to 'other'.
I've just committed the following, which should fix the issue for 4.9.
http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=201513
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.
Since 4.8 also uses C++ it could be backported.