[M3devel] CM3 problems

Mika Nystrom mika at async.async.caltech.edu
Sun Aug 8 04:51:30 CEST 2010


With what I found in CVS today, I see the following for a program
of mine I'm trying to compile:


new source -> compiling Main.m3
"../src/Main.m3", line 258: warning: potentially unhandled exception: Main.ParamErr
"../src/Main.m3", line 260: warning: potentially unhandled exception: Main.ParamErr
"../src/Main.m3", line 261: warning: potentially unhandled exception: Main.ParamErr
3 warnings encountered
../src/Main.m3: In function 'Main__DumpMatching__DumpOne':
../src/Main.m3:225: error: unable to find a register to spill in class 'CREG'
../src/Main.m3:225: error: this is the insn:
(insn 5 4 6 2 ../src/Main.m3:204 (parallel [
            (set (reg:SI 112)
                (const_int 0 [0x0]))
            (set (reg:SI 110)
                (plus:SI (ashift:SI (reg:SI 112)
                        (const_int 2 [0x2]))
                    (reg:SI 110)))
            (set (reg:SI 111)
                (plus:SI (ashift:SI (reg:SI 112)
                        (const_int 2 [0x2]))
                    (reg:SI 111)))
            (set (mem/s/c:BLK (reg:SI 110) [0 M3_A91vEE_trade+0 S24 A64])
                (mem/s/c:BLK (reg:SI 111) [0 M3_A91vEE_trade+0 S24 A32]))
            (use (reg:SI 112))
        ]) 586 {*rep_movsi} (expr_list:REG_UNUSED (reg:SI 112)
        (expr_list:REG_UNUSED (reg:SI 111)
            (expr_list:REG_UNUSED (reg:SI 110)
                (nil)))))
../src/Main.m3:225: confused by earlier errors, bailing out
  m3_backend => 4
m3cc (aka cm3cg) failed compiling: Main.mc
compilation failed => not building program "ximport"
Fatal Error: package build failed

Any hints as to how to deal with this?  I have optimization turned off.

    Mika





More information about the M3devel mailing list