Thu Jun 19 03:08:49 PDT 2008  Simon Marlow <[EMAIL PROTECTED]>
  * Fix up inlines for gcc 4.3
  gcc 4.3 emits warnings for static inline functions that its heuristics
  decided not to inline.  The workaround is to either mark appropriate
  functions as "hot" (a new attribute in gcc 4.3), or sometimes to use
  "extern inline" instead.
  
  With this fix I can validate with gcc 4.3 on Fedora 9.

    M ./includes/SMP.h -6 +6
    M ./includes/SMPClosureOps.h -14 +11
    M ./includes/Stg.h -1 +27
    A ./rts/Inlines.c
    M ./rts/ProfHeap.c -1 +1
    M ./rts/sm/Evac.c -3 +3
    M ./rts/sm/Scav.c -6 +6

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20080619100849-12142-d717e099e8ba208b7b9154b676f64d8d93eee4c0.gz

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to