| I tried building the standard library in libraries/ with gcc 3.0.4;
it
| grinds to a halt at this point:
| 
| Data/Array/Base.hs:1162:
|     Warning: foreign declaration uses deprecated non-standard syntax
| ghc-asm: (mangler) still have jump involving %edi!

With some comments about what's going on ...

| srRN_ret:
|         movl    %esi, %eax
|         andl    8(%ebp), %eax
|         cmpl    4(%ebp), %eax
|         setne   %al                           # al = eax==4(ebp) ? 1 :
0
|         movzbl  %al, %edi                     # edi is 0 or 1
|         addl    $12, %ebp
|         movl    GHCziBase_Bool_closure_tbl(,%edi,4), %esi
|         sall    $2, %edi                      # edi is 0 or 4
|         negl    %edi                          # edi is 0 or -4
|         jmp     *stg_upd_frame_info-16(%edi)

Thing is, it beats me how gcc thought %edi was available for allocation,
unless -monly[234]-regs was in effect at the time.

<disparaging comments about the mangler suppressed>

J
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to