comp.lang.ada
 help / color / mirror / Atom feed
From: Dr Adrian Wrigley <amtw@linuxchip.demon.co.uk>
Subject: Re: gnat and heap size
Date: Thu, 27 Sep 2001 06:12:35 GMT
Date: 2001-09-27T06:12:35+00:00	[thread overview]
Message-ID: <3BB2C334.A576460A@linuxchip.demon.co.uk> (raw)
In-Reply-To: vn2u1xp1y29.fsf_-_@sun356.fof.kog.no

Erik Johannessen wrote:
...
> The fun part here is that you can stay within the bounds you've
> declared for the array, but access memory outside of the area
> allocated for the array.  If you've got other data on the heap after
> the array you'll get some interesting bugs. :)
...

This seems to be the same problem I had, except I was finding
unexpected "aliases" between different fields in a record.
Potentially nasty, because it can happen in otherwise well tested
code used with unusually large data.  Be aware of and work around
the various limitations.  Doesn't GNAT 3.14 fix some of these?

Can (any of) you confirm whether the problem occurs with GNAT on
64-bit processors (Alpha etc.)?
--
Adrian Wrigley



  reply	other threads:[~2001-09-27  6:12 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-25 18:29 gnat and heap size Claude Marinier
2001-09-25 20:46 ` Ted Dennison
2001-09-25 21:15   ` Marin David Condic
2001-09-25 21:49     ` Ted Dennison
2001-09-26 13:04       ` Marin David Condic
2001-09-26 13:39         ` Ted Dennison
2001-09-26 14:18           ` Larry Kilgallen
2001-09-26 14:27             ` Larry Kilgallen
2001-09-26 14:53             ` Marin David Condic
2001-09-26 17:21               ` Larry Kilgallen
2001-09-26 18:12                 ` Marin David Condic
2001-09-26 18:35               ` Marin David Condic
2001-09-27  7:20                 ` Martin Dowie
2001-09-26 21:16               ` Pascal Obry
2001-09-27 13:07                 ` Marin David Condic
2001-09-27 15:25                   ` Holographic memory (Was: gnat and heap size) Jacob Sparre Andersen
2001-09-27 16:26                   ` gnat and heap size Dale Pennington
2001-09-27 16:57                     ` Darren New
2001-09-27 16:58                     ` Marin David Condic
2001-09-27 19:19                     ` tmoran
2001-09-26 14:13         ` Larry Kilgallen
2001-09-27 10:39       ` Ole-Hjalmar Kristensen
2001-09-25 22:40   ` David Starner
2001-09-26  2:12   ` Robert Dewar
2001-09-26 13:36     ` Ted Dennison
2001-09-26  2:13   ` Robert Dewar
2001-09-26 13:29     ` Ted Dennison
2001-09-25 23:10 ` Dr Adrian Wrigley
2001-09-26  9:09   ` Lutz Donnerhacke
2001-09-26 13:58     ` The decline of programming civilization (was: gnat and heap size) Ted Dennison
2001-09-26 13:44   ` gnat and heap size Claude Marinier
2001-09-26 14:55     ` Ted Dennison
2001-09-26 20:45       ` Erik Johannessen
2001-09-27  6:12         ` Dr Adrian Wrigley [this message]
2001-09-27 18:23           ` erij
2001-09-27  9:02         ` Erik Johannessen
2001-09-27 13:27           ` Gerald Kasner
2001-09-27 17:48             ` erij
2001-09-27 14:11         ` Peter F. Gath
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox