• Simon Marlow's avatar
    Fix up inlines for gcc 4.3 · 24ad9cf0
    Simon Marlow authored
    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.
    24ad9cf0
SMP.h 4.74 KB