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

2007-02-27 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2007-02-27 22:24 ---
Can you do two things for me, first supply what is the date on 4.3.0 you are
trying to compile?  Second, can you attach the preprocessed source found by
recompiling the source which is failing with -save-temps?


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||pinskia at gcc dot gnu dot
   ||org, ian at gcc dot gnu dot
   ||org
  Component|target  |rtl-optimization
Summary|Problem while compiling gcc |[4.3 Regression] Problem
   |for score   |while compiling gcc for
   ||score
   Target Milestone|--- |4.3.0


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



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

2007-02-27 Thread ian at airs dot com


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