From: Simon Wright <simon@pushface.org>
Subject: Re: GNAT.Regpat problem.
Date: Tue, 22 Mar 2011 20:31:20 +0000
Date: 2011-03-22T20:31:20+00:00 [thread overview]
Message-ID: <m2mxkmganb.fsf@pushface.org> (raw)
In-Reply-To: 41cae3ac-97b6-4b01-ad73-9ff1ec2fdf86@q12g2000prb.googlegroups.com
Adam Beneschan <adam@irvine.com> writes:
> I'm not sure whether I'm working with the latest version. However,
> when I took the sources for this package from GNAT 4.5.2 and compiled
> and ran them (with your test) using a different compiler, a slice
> assignment in Emit_Class failed due to out-of-range bounds. If that
> range check were turned off, I can imagine that the result would be
> havoc.
There's certanly something fishy with 4.5.2; it appears not to notice
when it goes off the end, heaven knows where the extra elements of the
matcher go.
Looking at the GCC SVN log for s-regpat.adb, I see
2010-06-21 Emmanuel Briot <briot@adacore.com>
* s-regpat.adb (Link_Tail): Fix error when size of the pattern matcher
is too small.
next prev parent reply other threads:[~2011-03-22 20:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-22 18:35 GNAT.Regpat problem Peter C. Chapin
2011-03-22 19:01 ` Georg Bauhaus
2011-03-22 19:17 ` Florian Weimer
2011-03-22 19:21 ` Adam Beneschan
2011-03-22 20:31 ` Simon Wright [this message]
2011-03-24 10:23 ` Peter C. Chapin
2011-03-24 10:43 ` Dmitry A. Kazakov
2011-03-24 14:04 ` Peter C. Chapin
2011-03-24 14:34 ` Dmitry A. Kazakov
2011-03-24 16:20 ` Georg Bauhaus
2011-03-24 17:37 ` Dmitry A. Kazakov
2011-03-24 21:12 ` Peter C. Chapin
2011-03-25 9:02 ` Dmitry A. Kazakov
2011-03-24 16:41 ` Georg Bauhaus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox