This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 1.3.4 status?


On Tue, Oct 23, 2001 at 10:41:36AM +1000, Robert Collins wrote:
>My 2c on this is that this could be a lot worse than a malloc issue...
>even though it is occuring at process exit.

It's not a malloc issue.  gcc's -O3 optimization is screwing up regparm
parameter passing, specifically in fhandler_console::read which seems to
need to call alloca for some reason, although I can't say exactly why.
It's actually clobbering the EAX register almost immediately on entry into
the function.  AFAICT, EAX is the register that should hold the first
argument.

I knew that regparm was buggy with some gcc's.  Apparently 2.95.3 is one
of them.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]