Duncan Coutts pushed to branch wip/dcoutts/printf-warnings at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • rts/sm/GCUtils.c
    ... ... @@ -173,9 +173,10 @@ push_scanned_block (bdescr *bd, gen_workspace *ws)
    173 173
     void
    
    174 174
     push_todo_block(bdescr *bd, gen_workspace *ws)
    
    175 175
     {
    
    176
    -    debugTrace(DEBUG_gc, "push todo block %p (%ld words), step %d, todo_q: %ld",
    
    177
    -            bd->start, (unsigned long)(bd->free - bd->u.scan),
    
    178
    -            ws->gen->no, dequeElements(ws->todo_q));
    
    176
    +    debugTrace(DEBUG_gc, "push todo block %p (%ld words), step %d, "
    
    177
    +		         "todo_q: %" FMT_Int,
    
    178
    +               bd->start, (unsigned long)(bd->free - bd->u.scan),
    
    179
    +               ws->gen->no, dequeElements(ws->todo_q));
    
    179 180
     
    
    180 181
         ASSERT(bd->link == NULL);
    
    181 182