jhc vs ghc and the surprising result involving ghc
john at repetae.net
Tue Nov 1 19:54:04 EST 2005
On Tue, Nov 01, 2005 at 05:32:29PM +0100, Florian Weimer wrote:
> * Simon Marlow:
> > gcc started generating this rubbish around version 3.4, if I recall
> > correctly. I've tried disabling various optimisations, but can't seem
> > to convince gcc not to generate the extra jump. You don't get this from
> > the native code generator, BTW.
> But the comparison is present in the C code. What do you want GCC to
in addition to the expected conditional jump, it is adding another
unconditional jump and an indirect jump to a constant.
John Meacham - ⑆repetae.net⑆john⑈
More information about the Glasgow-haskell-users