comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: My first compiler bug: work around or redesign?
Date: Mon, 26 Mar 2012 11:55:08 -0700 (PDT)
Date: 2012-03-26T11:55:08-07:00	[thread overview]
Message-ID: <2229037.332.1332788108220.JavaMail.geo-discussion-forums@vbht7> (raw)
In-Reply-To: <slrnjn1ch7.1lme.lithiumcat@sigil.instinctive.eu>

Natasha Kerensikova wrote on comp.lang.ada:
> Is it really worth reporting?

Yes, especially if you can craft a small reproducer exposing the bug box.
Now that you know that "not null Named_Access_Type" triggers the bug, that
should be easy.  You've done the hardest part.

> Thinking about it, I'm not even sure my
> code is actually legal: could "not null Element_Renderer" be illegal but
> previously interpreted correctly because of a fluke? Or should it be
> accepted?

IIUC, "not null Element_Renderer" is legal in Ada 2005 and does not
create an anonymous type.  In Ada 95, anonymous types are implicitly
"not null" but named access types are implicitly "null" (i.e. "possibly
null") and there is no way to make them "not null".

> And assuming I should report it, how to so? AdaCore seemed the best
> starting point, but their website isn't exactly straightforward on how
> to be send bug reports. Is there anything better than
> http://libre.adacore.com/libre/contact/  ?

Report it to the FSF at http://gcc.gnu.org/bugzilla. IMHO, a public bug
database is worth a thousand private ones.

-- 
Ludovic Brenta.
The project manager deploys scalable Management Information Systems
reaped from our measured efficiency gain.



  parent reply	other threads:[~2012-03-26 18:57 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-23 16:29 My first compiler bug: work around or redesign? Natasha Kerensikova
2012-03-23 17:51 ` Ludovic Brenta
2012-03-23 21:20   ` Natasha Kerensikova
2012-03-23 17:56 ` Jeffrey Carter
2012-03-23 18:22 ` Jeffrey Carter
2012-03-23 21:23   ` Natasha Kerensikova
2012-03-23 22:54     ` Jeffrey Carter
2012-03-23 18:29 ` Simon Wright
2012-03-23 18:37 ` Dmitry A. Kazakov
2012-03-23 18:48   ` Robert A Duff
2012-03-23 21:40     ` Natasha Kerensikova
2012-03-24  0:04       ` Georg Bauhaus
2012-03-24  9:50         ` Natasha Kerensikova
2012-03-23 21:34   ` Natasha Kerensikova
2012-03-23 19:04 ` Jeffrey Carter
2012-03-26 18:15 ` Natasha Kerensikova
2012-03-26 18:43   ` Simon Wright
2012-03-26 18:55   ` Ludovic Brenta [this message]
2012-03-28 15:30     ` Natasha Kerensikova
2012-03-29  8:25       ` Ludovic Brenta
2012-03-30 23:42         ` onox
2012-04-02 20:51           ` Ludovic Brenta
2012-04-03  2:50             ` onox
2012-03-26 21:47   ` Georg Bauhaus
2012-03-27  5:34     ` Per Sandberg
2012-03-27  7:30     ` Dmitry A. Kazakov
replies disabled

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