LLVM: Decrease max opt level used under OSX to avoid bug
authorDavid Terei <davidterei@gmail.com>
Tue, 20 Jul 2010 16:09:38 +0000 (16:09 +0000)
committerDavid Terei <davidterei@gmail.com>
Tue, 20 Jul 2010 16:09:38 +0000 (16:09 +0000)
commit726cab79226c45945eb6e7f6ae9597a4e4f90f37
treee9efe72a74391ac9003278ba1bc64bad239d6396
parent46281d3a94f2598931de24d183060fb234c97759
LLVM: Decrease max opt level used under OSX to avoid bug

Currently, many programs compiled with GHC at -O2 and LLVM
set to -O3 will segfault (only under OSX). Until this issue
is fixed I have simply 'solved' the segfault by lowering
the max opt level for LLVM used to -O2 under OSX.

All these recent changes to OSX should mean its finally as
stable as Linux and Windows.
compiler/main/DriverPipeline.hs