Turn on -O2 for the RTS by default
authorSimon Marlow <marlowsd@gmail.com>
Fri, 26 Oct 2012 10:12:49 +0000 (11:12 +0100)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 1 Nov 2012 10:13:17 +0000 (10:13 +0000)
commit3a6b1bfb08602a8193b0025f0fe47ec8ddf8dad2
treee56ceda94fb405c856489d5df44853ca514be687
parentee43ad528d57f0b31f47e56afdf5211141780239
Turn on -O2 for the RTS by default

Optimisation now makes a difference when compiling .cmm code, because
it enables the optimisation passes in CmmPipeline.  Recently validate
has not been optimising the .cmm code because it uses SRC_HC_OPTS=-O0,
which explains why I couldn't reproduce #7366 in validate (the bug
miscompiled rts/PrimOps.cmm).
mk/config.mk.in