Skip to content
  • Simon Marlow's avatar
    Turn on -O2 for the RTS by default · 3a6b1bfb
    Simon Marlow authored
    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).
    3a6b1bfb