UNDO: Be a little keener to inline
authorSimon Marlow <simonmar@microsoft.com>
Fri, 1 Feb 2008 14:48:10 +0000 (14:48 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Fri, 1 Feb 2008 14:48:10 +0000 (14:48 +0000)
commit2859b53114d1307e9306940d36fa1bae0ad4934c
treec748d110ac8591af210fc8152170c61828c0c1e0
parente4fa0854318cde1a317727ab3d29edc0ca772e9d
UNDO: Be a little keener to inline

This patch caused at least the following test failures:
   1744(normal)
   ghci028(ghci)
   unicode001(normal)
and additionally made the stage3 build fail.

A little more validation please!

I didn't find the exact cause of the failure yet, but it appears that
the Lexer is miscompiled in some strange way.  If any of {Encoding,
StringBuffer, or Lexer} are compiled without -O, the problem goes
away.
compiler/coreSyn/CoreUnfold.lhs