cvs commit: fptools/ghc/includes TailCalls.h fptools/ghc/rts Schedule.c

Manuel M. T. Chakravarty chak@cse.unsw.edu.au
Fri, 27 Oct 2000 15:40:56 +1100


Simon Marlow <simonmar@microsoft.com> wrote,

> 
> > chak        2000/10/16 06:22:48 PDT
> > 
> >   Modified files:        (Branch: before-ghci-branch)
> >     ghc/includes         TailCalls.h 
> >     ghc/rts              Schedule.c 
> >   Log:
> >   GHC meets gcc 2.96 (Bug #115811) contd:
> >   
> >   * This fixes the core dumps I mentioned in my last comment 
> > re Bug #115811.
> 
> Rather you than me :-)

I thought, you would say that ;-)

> BTW, did you try twiddling gcc's -mpreferred-stack-bound option?  I recall
> something from FreeBSD-land about having to tweak this to eliminate the
> extra stack padding instructions.

You are right, -mpreferred-stack-bound might have been a way
to get rid of the extra stack padding.  However, AFAIK
getting rid of the stack padding means slower code, doesn't
it.  Maybe doesn't make that much of a difference, because
GHC code doesn't use the system stack much, but still...

Cheers,
Manuel