Alain SMEJKAL on Sat, 06 Dec 2008 17:15:03 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: gp2c malloc trouble


----- Original Message ----- 
From: "Bill Allombert" <Bill.Allombert@math.u-bordeaux1.fr>
To: <pari-users@list.cr.yp.to>
Sent: Saturday, December 06, 2008 10:22 AM
Subject: Re: gp2c malloc trouble

> malloc does not use the PARI stack so your problem is probably
> elsewhere. Send me your script if you want.

You are right, looking closer there is no relation between GP stack and the
malloc'ed data.
In fact I had a problem with loops that consume more stack space than what I
was expecting.
I made wrong assumptions about stack handling !
The documented -g option adds the "gerepile" missing code.

Regards,

Alain