fix for gcc 4.1.x
authorSimon Marlow <simonmar@microsoft.com>
Wed, 22 Mar 2006 10:17:46 +0000 (10:17 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 22 Mar 2006 10:17:46 +0000 (10:17 +0000)
commita0f46309637779ccc141ec531e9b128596a5bba0
treecce93e60f0c21b080953865641b0f749cd15ac5c
parente20b29d0c1ebd529cc147e9fa507540e3e57917c
fix for gcc 4.1.x
We need to use GNUC3_ATTRIBUTE(used) to force gcc to keep the
definition of StgRunIsImplementedInAssembler() around.  In some cases
we had already made this function external rather than static to get
around the problem, but GNUC3_ATTRIBUTE(used) is a better fix.
ghc/rts/StgCRun.c