comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: Can anyone help with GNAT.Perfect_Hash_Generators ? (Possible memory corruption)
Date: Tue, 06 Sep 2016 21:44:41 +0200
Date: 2016-09-06T21:44:41+02:00	[thread overview]
Message-ID: <87bn0024pi.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: 397dd8cb-2afc-43cd-972d-3b1a5a90cd5d@googlegroups.com

* Stephen Leake:

> However, some of the GNAT packages are implemented in C, so they don't
> have that level of protection.

I think the Ada parts are still compiled with -gnatpg, and:

  --  Overflow checks are on by default (Suppress set False) except in
  --  GNAT_Mode, where we want them off by default (we are not ready to
  --  enable overflow checks in the compiler yet, for one thing the case
  --  of 64-bit checks needs System.Arith_64 which is not a compiler
  --  unit and it is a pain to try to include it in the compiler.
  
  Suppress_Options.Suppress (Overflow_Check) := GNAT_Mode;


      parent reply	other threads:[~2016-09-06 19:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-04 19:22 Can anyone help with GNAT.Perfect_Hash_Generators ? (Possible memory corruption) Natasha Kerensikova
2016-09-05 17:18 ` Stephen Leake
2016-09-06 19:24   ` Natasha Kerensikova
2016-09-06 19:52     ` Florian Weimer
2016-09-06 20:55       ` Jeffrey R. Carter
2016-09-06 21:04       ` Simon Wright
2016-09-08 16:00         ` Anh Vo
2016-09-08 17:04           ` Simon Wright
2016-09-08 18:03             ` Anh Vo
2016-09-08 18:10               ` Simon Wright
2016-09-08 19:08               ` Jeffrey R. Carter
2016-09-09  6:04                 ` Natasha Kerensikova
2016-09-09  6:15                   ` Jeffrey R. Carter
2016-09-09  8:25                   ` J-P. Rosen
2016-09-08 19:19       ` Florian Weimer
2016-09-06 19:44   ` Florian Weimer [this message]
replies disabled

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