comp.lang.ada
 help / color / mirror / Atom feed
From: Brian Drummond <brian@shapes.demon.co.uk>
Subject: Re: limited allocated classwide types
Date: Fri, 4 Nov 2011 09:53:14 +0000 (UTC)
Date: 2011-11-04T09:53:14+00:00	[thread overview]
Message-ID: <j90cm9$7p0$1@dont-email.me> (raw)
In-Reply-To: e3ca4799-e6e1-42c3-a522-d04b8221979f@er6g2000vbb.googlegroups.com

On Thu, 03 Nov 2011 16:35:14 -0700, Simon Belmont wrote:

> Though it is satisfying to hear that this is most likely a compiler
> error, and not poor programming skills on my part, I can't help but feel
> unnerved by this.  I am only months into being an Ada programmer and not
> trying to anything that isn't well described and ostensibly supported,
> so it seems odd that such a basic test case would uncover and compiler
> bug.  Moreover, one of the points of pride is that Ada compilers are
> heavily tested and verified for safety critical apps, which this seems
> to undercut.  Not to sound snarky, but I personally have never found a
> bug in a GPL C compiler.

Simon W has pointed you at Adacore for reporting the bug, and it's great 
that you have such a simple testcase.

I reported a much more trivial bug some time ago, expecting nothing 
(since it was the GPL version of the compiler). About four months later, 
out of the blue,  I received a note of thanks and an acknowledgment that 
the bug had been fixed. Well done Adacore...

My experience suggests that there are some untried corner cases simply 
because there are fewer people using and exercising the compiler. So I 
wouldn't want you to be discouraged ... that would mean one fewer pair of 
eyes!

But this bug (assuming it is confirmed, as it looks to be) is much closer 
to the core of the language ... to me it raises the question: has ACATS 
(test suite) not kept up with the language additions in Ada-2005? And is 
it being maintained and updated alongside Ada-2012?

Is there a mechanism for adding ad-hoc test cases like this one to ACATS? 
One would like to think there is a more systematic effort to add tests 
alongside features as they are developed.

- Brian



  parent reply	other threads:[~2011-11-04  9:53 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-03 22:01 limited allocated classwide types Simon Belmont
2011-11-03 22:50 ` Adam Beneschan
2011-11-03 23:14 ` Simon Wright
2011-11-03 23:35   ` Simon Belmont
2011-11-04  0:30     ` Adam Beneschan
2011-11-04  0:51       ` Adam Beneschan
2011-11-04  7:40     ` Simon Wright
2011-11-04  8:42       ` Dmitry A. Kazakov
2011-11-04  9:18     ` Georg Bauhaus
2011-11-04  9:53     ` Brian Drummond [this message]
2011-11-04 16:39       ` Simon Wright
2011-11-04 18:47       ` Adam Beneschan
2011-11-04 20:03         ` Simon Wright
2011-11-08  4:25         ` Randy Brukardt
2011-11-08 12:10           ` Brian Drummond
2011-11-08 12:35             ` Simon Wright
2011-11-08 13:05               ` Dmitry A. Kazakov
2011-11-10  9:56             ` Álex R. Mosteo
2011-11-04 12:25 ` Stephen Leake
replies disabled

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