[m-rev.] diff: mdb command "stats io_tabling"

Julien Fischer juliensf at cs.mu.OZ.AU
Tue Aug 2 00:16:10 AEST 2005



On Mon, 1 Aug 2005, Zoltan Somogyi wrote:

> runtime/mercury_trace_base.[ch]:
> 	Add a new function for printing stats on the predicate in the I/O
> 	action table.
>
> 	Add headers to each section of this file.
>

gcc 3.2 doesn't seem to like this change.  (Other versions we have
installed seem okay though.)

../scripts/mgnuc --grade asm_fast.gc      --no-mercury-stdlib-dir --c-debug --no-ansi   --       -c mercury_trace_base.c -o mercury_trace_base.o
mercury_trace_base.c: In function `MR_io_tabling_stats':
mercury_trace_base.c:1016: unable to find a register to spill in class `SIREG'
mercury_trace_base.c:1016: this is the insn:
(insn 33 30 34 (parallel[
            (set (reg:SI 2 ecx [78])
                (const_int 0 [0x0]))
            (set (reg/f:SI 1 edx [75])
                (plus:SI (ashift:SI (reg:SI 2 ecx [77])
                        (const_int 2 [0x2]))
                    (reg/f:SI 1 edx [75])))
            (set (reg/f:SI 0 eax [76])
                (plus:SI (ashift:SI (reg:SI 2 ecx [77])
                        (const_int 2 [0x2]))
                    (reg/f:SI 0 eax [76])))
            (set (mem/s:BLK (reg/f:SI 1 edx [75]) [93 hash_table+0 S20 A128])
                (mem/s:BLK (reg/f:SI 0 eax [76]) [93 MR_io_tabling_stats_table+0 S20 A32]))
            (use (reg:SI 2 ecx [77]))
            (use (reg:SI 19 dirflag))
        ] ) 597 {rep_movsi} (insn_list 25 (insn_list 27 (insn_list 28 (insn_list 30 (nil)))))
    (expr_list:REG_DEAD (reg:SI 19 dirflag)
        (expr_list:REG_DEAD (reg:SI 2 ecx [77])
            (expr_list:REG_UNUSED (reg:SI 2 ecx [78])
                (expr_list:REG_UNUSED (reg/f:SI 1 edx [75])
                    (expr_list:REG_UNUSED (reg/f:SI 0 eax [76])
                        (nil)))))))
mercury_trace_base.c:1016: confused by earlier errors, bailing out
gmake[1]: *** [mercury_trace_base.o] Error 1
gmake[1]: Leaving directory `/home/aral/juliensf/ws-deep-profile3/runtime'
gmake: *** [runtime] Error 2
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list