[m-dev.] Looks like a GCC problem

Ralph Becket rafe at cs.mu.OZ.AU
Mon Feb 17 13:40:02 AEDT 2003


I just tried building an unedited, up-to-date version of the main branch
on ceres and got this:

...
../scripts/mgnuc --grade asm_fast.gc      --no-mercury-stdlib-dir --c-debug --no
-ansi   --  -I../boehm_gc -I../boehm_gc/include -I../mps_gc/code  -DMERCURY_BOOT
STRAP_H -DMERCURY_CONF_BOOTSTRAP_H     -c mercury_deconstruct.c -o mercury_decon
struct.o
In file included from mercury_deconstruct.c:28:
mercury_ml_expand_body.h: In function `MR_expand_functor_args':
mercury_ml_expand_body.h:1174: fixed or forbidden register 5 (di) was spilled fo
r class DIREG.
mercury_ml_expand_body.h:1174: This may be due to a compiler bug or to impossibl
e asm
mercury_ml_expand_body.h:1174: statements or clauses.
mercury_ml_expand_body.h:1174: Internal compiler error:
mercury_ml_expand_body.h:1174: This is the instruction:
(insn 86 85 87 (parallel[ 
            (set (reg:SI 2 %ecx)
                (unspec:SI[ 
                        (mem:BLK (reg:SI 0 %eax) 0)
                        (const_int 0 [0x0])
                        (const_int 1 [0x1])
                    ]  0))
            (clobber (reg:SI 0 %eax))
        ] ) 411 {strlensi+1} (insn_list 85 (nil))
    (expr_list:REG_UNUSED (reg:SI 0 %eax)
        (nil)))
gmake[1]: *** [mercury_deconstruct.o] Error 1
gmake[1]: Leaving directory `/home/ceres/rafe/ws-svars/mercury/runtime'
gmake: *** [runtime] Error 2

Anyone know what the fix for this one is?

	Ralph
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list