X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2FGC.c;h=66bb5dc487d146377f557ccb157e775d6265c21c;hp=10f6a3659932b769d46407a7994aaa8c565d983b;hb=9da4639011348fb6c318e3cba4b08622f811d9c4;hpb=b1953bbb1ed3cb16497e5447db7487f0c2d9e41a diff --git a/rts/GC.c b/rts/GC.c index 10f6a36..66bb5dc 100644 --- a/rts/GC.c +++ b/rts/GC.c @@ -827,8 +827,8 @@ GarbageCollect ( void (*get_roots)(evac_fn), rtsBool force_major_gc ) copied += mut_list_size; debugTrace(DEBUG_gc, - "mut_list_size: %ld (%d vars, %d arrays, %d others)", - mut_list_size * sizeof(W_), + "mut_list_size: %lu (%d vars, %d arrays, %d others)", + (unsigned long)(mut_list_size * sizeof(W_)), mutlist_MUTVARS, mutlist_MUTARRS, mutlist_OTHERS); } @@ -1898,8 +1898,6 @@ loop: } return q; - case CONSTR_INTLIKE: - case CONSTR_CHARLIKE: case CONSTR_NOCAF_STATIC: /* no need to put these on the static linked list, they don't need * to be scavenged. @@ -4650,7 +4648,7 @@ threadPaused(Capability *cap, StgTSO *tso) if (closure_IND(bh) || bh->header.info == &stg_BLACKHOLE_info) { debugTrace(DEBUG_squeeze, "suspending duplicate work: %ld words of stack", - (StgPtr)frame - tso->sp); + (long)((StgPtr)frame - tso->sp)); // If this closure is already an indirection, then // suspend the computation up to this point: