------- Comment #2 from ian at airs dot com  2007-02-28 02:24 -------
The problem is that the bitset_c insn comes before the iorsi3 insn in the MD
files.  It matches the ior:SI insn with one added clobber.  Unfortunately, the
added clobber is of a hard reg, and so this is rejected by insn_invalid_p in
recog.c.

I don't understand how bitset_c will ever be used in practice.  Nothing
generates it explicitly.  Typical ior:SI insns get passed to recog_memoized
which does not add clobbers.

I can fix the problem easily enough by moving (include "misc.md") and (include
"mac.md") to the end of score.md.  I'm not sure how to really test that fix.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30987

Reply via email to