chelfgott at gmail.com
Wed Dec 22 19:57:23 CET 2010
Actually, I don't have VLAs in my exp function. In that function I first
figure out the initial value of LgNTerms, then declare my arrays to be
length (that+2). I never resize my arrays, and that is the first time they
are declared. But I'll try the constructor/destructor trick.
On Wed, Dec 22, 2010 at 4:15 AM, Marc Glisse <marc.glisse at inria.fr> wrote:
> On Tue, 21 Dec 2010, Craig Helfgott wrote:
> Okay, checked up on VLAs. These are not VLAs.
> But you definitely have VLAs in your exp function. However, that shouldn't
> be the reason for your trouble.
> In gmpxx.h, make the mp*_class constructors and destructors print
> Still my best advice. Actually, running the program inside ltrace already
> gives a useful output.
> Marc Glisse
More information about the gmp-discuss