Re: [sh] Avoid genrecog warning

2013-11-22 Thread Kaz Kojima
Richard Sandiford wrote: > I have a patch to upgrade most genrecog warnings into errors. This patch > fixes the ones for sh. There were some warnings about the match_operands > in some define_peephole2s having constraints. There were also a few > cases where a destination predicate allowed a co

[sh] Avoid genrecog warning

2013-11-22 Thread Richard Sandiford
I have a patch to upgrade most genrecog warnings into errors. This patch fixes the ones for sh. There were some warnings about the match_operands in some define_peephole2s having constraints. There were also a few cases where a destination predicate allowed a constant. Tested by building sh-elf