Commit 111edd85 authored by Simon Marlow's avatar Simon Marlow
Browse files

Add -fcmm-sink to avoid the register allocator failing on x86

parent fad7453b
......@@ -24,6 +24,16 @@ to inline certain key external functions, so we instruct GHC not to
throw away inlinings as it would normally do in -O0 mode.
-- CPP tricks because we want the directives in the output of the
-- first CPP pass.
#define __IF_GHC_77__ #if __GLASGOW_HASKELL__ >= 707
#define __ENDIF__ #endif
-- Required on x86 to avoid the register allocator running out of
-- stack slots when compiling this module with -fPIC -dynamic.
{-# OPTIONS_GHC -fcmm-sink #-}
module Parser ( parseModule, parseStmt, parseIdentifier, parseType,
parseHeader ) where
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment