From: jonathan <johnscpg@googlemail.com>
Subject: Re: GNAT's stack checking in Ubuntu 9.04 (and Shootout regex-dna)
Date: Mon, 10 Aug 2009 06:10:36 -0700 (PDT)
Date: 2009-08-10T06:10:36-07:00 [thread overview]
Message-ID: <a9289763-b20d-4a40-8b5a-21e687604869@f33g2000vbm.googlegroups.com> (raw)
In-Reply-To: 4a7f1fc5$0$31344$9b4e6d93@newsspool4.arcor-online.net
On Aug 9, 8:13 pm, Georg Bauhaus <rm.tsoh.plus-
bug.bauh...@maps.futureapps.de> wrote:
> Brian Drummond wrote:
> >> The GNAT that comes with Ubuntu 9.04 (GCC 4.3.3)
> >> produces storage errors where GNAT on Debian Lenny
> >> (GCC 4.3.2) and GNAT 2007 on Windows (4.3.1) don't.
> >> This happens with larger data structures.
>
> >> The workaround is to introduce an indirection ... (.-)
>
> > Default stack sizes may change between GCC versions and I've had trouble getting
> > the stack size flags to work on some versions.
>
> Two new versions of regex-dna are available. One of them
> performs both pattern matching and match-replace concurrently.
>
> Both are fixed WRT stack limits, using the heap now.
>
> I would be grateful if somebody who has access to a quad
> core or single core machine could run these. If you would
> like to change the number of tasks look for the constant
> Max_CPUs which is set to 4.
>
> Multitasking version:http://home.arcor.de/bauhaus/Ada/regexdna-multi.ada
>
> Just the fixed original:http://home.arcor.de/bauhaus/Ada/regexdna.ada
The new regexdna.adb worked perfectly on 1 core and
4 core tests. (I'm using Debian Lenny.)
regexdna.adb gave the right answers using both the
new GNAT GPL (uses gcc 4.3.4) and the Debian Lenny GNAT.
Actually, the old single-core regexdna.adb, (downloaded
from the benchmark site, gnat # 3), also worked fine on
both compilers (again on Debian Lenny). This older
regexdna.adb uses GNAT.regpat. It ran 20% slower than the
new GNAT.Spitbol version.
Jonathan
next prev parent reply other threads:[~2009-08-10 13:10 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-03 22:54 GNAT's stack checking in Ubuntu 9.04 (and Shootout regex-dna) Georg Bauhaus
2009-08-03 22:56 ` Georg Bauhaus
2009-08-04 7:50 ` Ludovic Brenta
2009-08-04 9:17 ` Georg Bauhaus
2009-08-04 9:58 ` Vadim Godunko
2009-08-04 10:44 ` Georg Bauhaus
2009-08-04 12:30 ` Vadim Godunko
2009-08-04 14:15 ` Georg Bauhaus
2009-08-04 22:20 ` Egil
2009-08-04 15:38 ` Robert A Duff
2009-08-04 11:59 ` Brian Drummond
2009-08-04 14:18 ` Georg Bauhaus
2009-08-09 19:13 ` Georg Bauhaus
2009-08-10 13:10 ` jonathan [this message]
2009-08-10 20:12 ` jonathan
2009-08-10 20:29 ` Ludovic Brenta
2009-08-10 23:34 ` Georg Bauhaus
2009-08-11 20:02 ` jonathan
2009-08-11 21:19 ` jonathan
2009-08-11 21:38 ` Georg Bauhaus
2009-08-11 0:27 ` Georg Bauhaus
2009-08-11 19:05 ` jonathan
2009-08-12 9:32 ` Ludovic Brenta
2009-08-12 16:37 ` jonathan
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox