This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/30987] [4.3 Regression] Problem while compiling gcc for score



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]