Problem parsing mips.md in 3.0 branch
Brian Murphy
brian@murphy.dk
Tue Mar 6 04:24:00 GMT 2001
For the last few days (possibly a week) making a clean build of gcc
in the 3.0 branch with target=mipsel-linux has resulted in this error:
./genrecog ../../gcc-newest/gcc/config/mips/mips.md > tmp-recog.c
../../gcc-newest/gcc/config/mips/mips.md:3866: warning: destination
operand 0 allows non-lvalue
../../gcc-newest/gcc/config/mips/mips.md:3891: warning: destination
operand 0 allows non-lvalue
../../gcc-newest/gcc/config/mips/mips.md:3925: warning: destination
operand 0 allows non-lvalue
../../gcc-newest/gcc/config/mips/mips.md:3952: warning: destination
operand 0 allows non-lvalue
../../gcc-newest/gcc/config/mips/mips.md:4627: operand 0 missing output
reload
../../gcc-newest/gcc/config/mips/mips.md:5049: operand 0 missing output
reload
../../gcc-newest/gcc/config/mips/mips.md:5934: `*mips.md:5934' matches
`*mips.md:5918'
../../gcc-newest/gcc/config/mips/mips.md:5918: previous definition of
`*mips.md:5918'
../../gcc-newest/gcc/config/mips/mips.md:5950: `*mips.md:5950' matches
`*mips.md:5918'
../../gcc-newest/gcc/config/mips/mips.md:5918: previous definition of
`*mips.md:5918'
../../gcc-newest/gcc/config/mips/mips.md:8952: operand to label_ref
SImode not VOIDmode
../../gcc-newest/gcc/config/mips/mips.md:8983: operand to label_ref
SImode not VOIDmode
../../gcc-newest/gcc/config/mips/mips.md:9054: operand 2 missing output
reload
../../gcc-newest/gcc/config/mips/mips.md:9190: warning: operand 0
missing mode?
../../gcc-newest/gcc/config/mips/mips.md:9299: warning: operand 0
missing mode?
../../gcc-newest/gcc/config/mips/mips.md:9319: warning: operand 0
missing mode?
../../gcc-newest/gcc/config/mips/mips.md:9494: warning: operand 1
missing mode?
../../gcc-newest/gcc/config/mips/mips.md:9515: warning: operand 1
missing mode?
../../gcc-newest/gcc/config/mips/mips.md:9613: warning: operand 1
missing mode?
make[1]: *** [s-recog] Error 33
make[1]: Leaving directory `/home/work/gcc/gcc-obj/gcc'
make: *** [all-gcc] Error 2
It seems that the parsing of the machine description file has become
stricter and mips.md fails on several points. Anyone have an easy fix?
Otherwise I guess I can hack a little bit and get it working.
Brian
More information about the Gcc-bugs
mailing list