Fix up inlines for gcc 4.3
authorSimon Marlow <marlowsd@gmail.com>
Thu, 19 Jun 2008 10:08:49 +0000 (10:08 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 19 Jun 2008 10:08:49 +0000 (10:08 +0000)
commit24ad9cf0325bb5fedc9f0ca8bd70f78096d8d326
tree0842c597aaf44db82f49d43cd9f8f14ee09f16a7
parent067ec969bb0bdc4c88582e53b040fa2925cbcc56
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.
includes/SMP.h
includes/SMPClosureOps.h
includes/Stg.h
rts/Inlines.c [new file with mode: 0644]
rts/ProfHeap.c
rts/sm/Evac.c
rts/sm/Scav.c