gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] INTEGER8 array indexing


From: Gaius Mulley
Subject: Re: [Gm2] INTEGER8 array indexing
Date: Sat, 10 Apr 2010 15:02:08 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

SiTex Graphics <address@hidden> writes:

> Hi Gaius,
>
> There appears to be a bug in the handling of arrays indexed by INTEGER8.  
> E.g.,
>
> VAR exp : ARRAY INTEGER8 OF SHORTREAL;
>
> Memory indexing seems to be wrong, and assigning to elements in the
> array can clobber other variables in some cases.  I've attached a
> somewhat unsatisfactory repro case.  The code seg faults at index 76
> in my test.  The surrounding variables aren't affected in this case,
> but maybe the seg fault will indicate an indexing problem.  If this
> isn't sufficient to track down the bug, I'll work on trimming down the
> failure case in our application.
>
> compile with
>
> gm2 -o int8array -fiso -fmakeall int8array.mod
>
> Thanks,
> Scott

Hi Scott,

thanks for the test code - now fixed in the latest cvs,

regards,
Gaius




reply via email to

[Prev in Thread] Current Thread [Next in Thread]