Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Call me bored, but don't call me boring. -- Larry Wall in <199705101952.MAA00756@wall.org>


devel / comp.lang.ada / Re: GNAT Error?

SubjectAuthor
* GNAT Error?Jeffrey R.Carter
`* Re: GNAT Error?Niklas Holsti
 `* Re: GNAT Error?Jeffrey R.Carter
  `* Re: GNAT Error?Randy Brukardt
   `* Re: GNAT Error?Jeffrey R.Carter
    `* Re: GNAT Error?Simon Wright
     `* Re: GNAT Error?Simon Wright
      `* Re: GNAT Error?Jeffrey R.Carter
       `* Re: GNAT Error?Simon Wright
        `* Re: GNAT Error?Simon Wright
         `- Re: GNAT Error?Jeffrey R.Carter

1
GNAT Error?

<uqootl$3rue0$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=10430&group=comp.lang.ada#10430

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!newsfeed.endofthelinebbs.com!nyheter.lysator.liu.se!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: spam.jrcarter.not@spam.acm.org.not (Jeffrey R.Carter)
Newsgroups: comp.lang.ada
Subject: GNAT Error?
Date: Fri, 16 Feb 2024 23:51:33 +0100
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <uqootl$3rue0$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 16 Feb 2024 22:51:33 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a04b014c840d72992801a502e7abc5b0";
logging-data="4061632"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/hzAXJElbAY/xzclaxRxumMlubu9ru+h8="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:cq+JXxnP443dbU/vQDgYFsHt8eE=
Content-Language: en-US
 by: Jeffrey R.Carter - Fri, 16 Feb 2024 22:51 UTC

I have this code:

package Alloc_Err is
type RT is record
F1 : Integer;
F2 : Integer;
end record;

type Grid is array (Positive range <>, Positive range <>) of RT with
Dynamic_Predicate => Grid'First (1) = 1 and Grid'First (2) = 1;

procedure What;
end Alloc_Err;

package Alloc_Err is
type RT is record
F1 : Integer;
F2 : Integer;
end record;

type Grid is array (Positive range <>, Positive range <>) of RT with
Dynamic_Predicate => Grid'First (1) = 1 and Grid'First (2) = 1;

procedure What;
end Alloc_Err;

and GNAT 12.3.0 and 13.2.0 say

alloc_err.adb:5:26: error: invalid use of subtype mark in expression or call

This doesn't happen if the Dynamic_Predicate is removed. This looks like an
error to me, but I thought I'd better see if there's something I've missed.

--
Jeff Carter
"I like it when the support group complains that they have
insufficient data on mean time to repair bugs in Ada software."
Robert I. Eachus
91

Re: GNAT Error?

<l3a99aFjrfbU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=10431&group=comp.lang.ada#10431

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: niklas.holsti@tidorum.invalid (Niklas Holsti)
Newsgroups: comp.lang.ada
Subject: Re: GNAT Error?
Date: Sat, 17 Feb 2024 01:26:34 +0200
Organization: Tidorum Ltd
Lines: 42
Message-ID: <l3a99aFjrfbU1@mid.individual.net>
References: <uqootl$3rue0$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 8G/gR9dy8omBqpRApAznSgGR7IY6MJf8nwbdsdDId8EWxGmUej
Cancel-Lock: sha1:3VfdxzK5ItlLnQ4v9cVrgaP4eU0= sha256:7rTovmOb1E816l4YTOsjzfiRRJCpML1Q8SIudJRbP/4=
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <uqootl$3rue0$1@dont-email.me>
 by: Niklas Holsti - Fri, 16 Feb 2024 23:26 UTC

On 2024-02-17 0:51, Jeffrey R.Carter wrote:
> I have this code:
>
> package Alloc_Err is
>    type RT is record
>       F1 : Integer;
>       F2 : Integer;
>    end record;
>
>    type Grid is array (Positive range <>, Positive range <>) of RT with
>       Dynamic_Predicate => Grid'First (1) = 1 and Grid'First (2) = 1;
>
>    procedure What;
> end Alloc_Err;
>
> package Alloc_Err is
>    type RT is record
>       F1 : Integer;
>       F2 : Integer;
>    end record;
>
>    type Grid is array (Positive range <>, Positive range <>) of RT with
>       Dynamic_Predicate => Grid'First (1) = 1 and Grid'First (2) = 1;
>
>    procedure What;
> end Alloc_Err;
>
> and GNAT 12.3.0 and 13.2.0 say
>
> alloc_err.adb:5:26: error: invalid use of subtype mark in expression or
> call
>
> This doesn't happen if the Dynamic_Predicate is removed. This looks like
> an error to me, but I thought I'd better see if there's something I've
> missed.

You showed two copies of the declaration (spec) of package Alloc_Err,
but you did not show the body of the package. Based on the error message
pointing to alloc_err.adb (and not .ads), GNAT thinks the error is in
the body. Please show the body of the package.

Re: GNAT Error?

<uqos24$3rue0$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=10432&group=comp.lang.ada#10432

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!news.furie.org.uk!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: spam.jrcarter.not@spam.acm.org.not (Jeffrey R.Carter)
Newsgroups: comp.lang.ada
Subject: Re: GNAT Error?
Date: Sat, 17 Feb 2024 00:45:08 +0100
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <uqos24$3rue0$2@dont-email.me>
References: <uqootl$3rue0$1@dont-email.me> <l3a99aFjrfbU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 16 Feb 2024 23:45:08 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="2aa64debafb9d67966120ddede750c79";
logging-data="4061632"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+DCygxvaJKhkkkteUNI8ElEuxLWE1X0hs="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:pLlzJSl++rBGCOIDG1gqR/hCXFE=
In-Reply-To: <l3a99aFjrfbU1@mid.individual.net>
Content-Language: en-US
 by: Jeffrey R.Carter - Fri, 16 Feb 2024 23:45 UTC

On 2024-02-17 00:26, Niklas Holsti wrote:
>
> You showed two copies of the declaration (spec) of package Alloc_Err, but you
> did not show the body of the package. Based on the error message pointing to
> alloc_err.adb (and not .ads), GNAT thinks the error is in the body. Please show
> the body of the package.
>

Oops. Well, I've managed to simplify the reproducer to

procedure Alloc2 is
type Grid is array (Positive range <>, Positive range <>) of Integer with
Dynamic_Predicate => Grid'First (1) = 1 and Grid'First (2) = 1;

type Grid_Ptr is access Grid;

Data : Grid_Ptr := new Grid (1 .. 10, 1 .. 20);
begin -- Alloc2
null;
end Alloc2;

which results in

alloc2.adb:7:23: error: invalid use of subtype mark in expression or call

Line 7 is the declaration of Data.

--
Jeff Carter
"I like it when the support group complains that they have
insufficient data on mean time to repair bugs in Ada software."
Robert I. Eachus
91

Re: GNAT Error?

<uqpi78$9mms$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=10433&group=comp.lang.ada#10433

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: randy@rrsoftware.com (Randy Brukardt)
Newsgroups: comp.lang.ada
Subject: Re: GNAT Error?
Date: Sat, 17 Feb 2024 00:04:21 -0600
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <uqpi78$9mms$1@dont-email.me>
References: <uqootl$3rue0$1@dont-email.me> <l3a99aFjrfbU1@mid.individual.net> <uqos24$3rue0$2@dont-email.me>
Injection-Date: Sat, 17 Feb 2024 06:03:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3d7627b51622d224efea6204d304c23a";
logging-data="318172"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9nzOfUdIeVxM9xBTPfWaKKbnkTcfQ6RM="
Cancel-Lock: sha1:tmoe33k7v2xR964nYMl+rXGqrM4=
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246
X-RFC2646: Format=Flowed; Response
X-MSMail-Priority: Normal
X-Priority: 3
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
 by: Randy Brukardt - Sat, 17 Feb 2024 06:04 UTC

I don't see anything wrong with that off-hand. It's probably a compiler bug
of some sort. - Randy.

"Jeffrey R.Carter" <spam.jrcarter.not@spam.acm.org.not> wrote in message
news:uqos24$3rue0$2@dont-email.me...
> On 2024-02-17 00:26, Niklas Holsti wrote:
>>
>> You showed two copies of the declaration (spec) of package Alloc_Err, but
>> you did not show the body of the package. Based on the error message
>> pointing to alloc_err.adb (and not .ads), GNAT thinks the error is in the
>> body. Please show the body of the package.
>>
>
> Oops. Well, I've managed to simplify the reproducer to
>
> procedure Alloc2 is
> type Grid is array (Positive range <>, Positive range <>) of Integer
> with
> Dynamic_Predicate => Grid'First (1) = 1 and Grid'First (2) = 1;
>
> type Grid_Ptr is access Grid;
>
> Data : Grid_Ptr := new Grid (1 .. 10, 1 .. 20);
> begin -- Alloc2
> null;
> end Alloc2;
>
> which results in
>
> alloc2.adb:7:23: error: invalid use of subtype mark in expression or call
>
> Line 7 is the declaration of Data.
>
> --
> Jeff Carter
> "I like it when the support group complains that they have
> insufficient data on mean time to repair bugs in Ada software."
> Robert I. Eachus
> 91
>

Re: GNAT Error?

<uqpime$9jg8$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=10434&group=comp.lang.ada#10434

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: spam.jrcarter.not@spam.acm.org.not (Jeffrey R.Carter)
Newsgroups: comp.lang.ada
Subject: Re: GNAT Error?
Date: Sat, 17 Feb 2024 07:11:26 +0100
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <uqpime$9jg8$1@dont-email.me>
References: <uqootl$3rue0$1@dont-email.me> <l3a99aFjrfbU1@mid.individual.net>
<uqos24$3rue0$2@dont-email.me> <uqpi78$9mms$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 17 Feb 2024 06:11:26 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="14d685051c24efa0ee26531259ee2ac0";
logging-data="314888"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX189acKjo6un6d/pc8nIna2RmY/J4G4nI7s="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:1dVWQb5kn1OA9eDYDsiXslWk0Do=
Content-Language: en-US
In-Reply-To: <uqpi78$9mms$1@dont-email.me>
 by: Jeffrey R.Carter - Sat, 17 Feb 2024 06:11 UTC

On 2024-02-17 07:04, Randy Brukardt wrote:
> I don't see anything wrong with that off-hand. It's probably a compiler bug
> of some sort. - Randy.

That's what I thought. I know some people have GNAT 14. I'll wait a bit to see
if any of them report on if this is still the case before reporting it.

--
Jeff Carter
"Drown in a vat of whiskey. Death, where is thy sting?"
Never Give a Sucker an Even Break
106

Re: GNAT Error?

<lyy1bije5y.fsf@pushface.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=10450&group=comp.lang.ada#10450

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: simon@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: GNAT Error?
Date: Sun, 18 Feb 2024 09:48:57 +0000
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <lyy1bije5y.fsf@pushface.org>
References: <uqootl$3rue0$1@dont-email.me> <l3a99aFjrfbU1@mid.individual.net>
<uqos24$3rue0$2@dont-email.me> <uqpi78$9mms$1@dont-email.me>
<uqpime$9jg8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="ad4299653a872e9f5cf3ec88917e7b30";
logging-data="1049352"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/itsZaeshTyXqZu39k6mf35/YwJT4H+V4="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin)
Cancel-Lock: sha1:TVayXNkiujs37nldyjsKxTjJAwY=
sha1:DR8yChOxFO12iTyuln6DHGfWG5U=
 by: Simon Wright - Sun, 18 Feb 2024 09:48 UTC

"Jeffrey R.Carter" <spam.jrcarter.not@spam.acm.org.not> writes:

> On 2024-02-17 07:04, Randy Brukardt wrote:
>> I don't see anything wrong with that off-hand. It's probably a
>> compiler bug of some sort. - Randy.
>
> That's what I thought. I know some people have GNAT 14. I'll wait a
> bit to see if any of them report on if this is still the case before
> reporting it.

None of GCC 11.2.0, 12.2.0, 13.2.0, 14.0.1 report errors with
alloc2.adb.

These are all apple-darwin, but the error reported is going to be a
front-end error.

Re: GNAT Error?

<lyttm6jdnw.fsf@pushface.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=10451&group=comp.lang.ada#10451

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: simon@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: GNAT Error?
Date: Sun, 18 Feb 2024 09:59:47 +0000
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <lyttm6jdnw.fsf@pushface.org>
References: <uqootl$3rue0$1@dont-email.me> <l3a99aFjrfbU1@mid.individual.net>
<uqos24$3rue0$2@dont-email.me> <uqpi78$9mms$1@dont-email.me>
<uqpime$9jg8$1@dont-email.me> <lyy1bije5y.fsf@pushface.org>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="ad4299653a872e9f5cf3ec88917e7b30";
logging-data="1049352"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19P+vzHSkmu87QT0RsqR95QnuXTFnjTN10="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin)
Cancel-Lock: sha1:r3I2BYE4MSeZlTd7028gof9Ijm4=
sha1:knHp8j62KHwi3lVXx/rC4F+RPVE=
 by: Simon Wright - Sun, 18 Feb 2024 09:59 UTC

Simon Wright <simon@pushface.org> writes:

> "Jeffrey R.Carter" <spam.jrcarter.not@spam.acm.org.not> writes:
>
>> On 2024-02-17 07:04, Randy Brukardt wrote:
>>> I don't see anything wrong with that off-hand. It's probably a
>>> compiler bug of some sort. - Randy.
>>
>> That's what I thought. I know some people have GNAT 14. I'll wait a
>> bit to see if any of them report on if this is still the case before
>> reporting it.
>
> None of GCC 11.2.0, 12.2.0, 13.2.0, 14.0.1 report errors with
> alloc2.adb.
>
> These are all apple-darwin, but the error reported is going to be a
> front-end error.

Oh, you didn't say that -gnata is needed to provoke the error, though
it's not really a surprise.

Now, only GCC 11.2.0 doesn't have the error; so it's a regression in GCC
12.

Re: GNAT Error?

<uqsqr5$10q8l$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=10456&group=comp.lang.ada#10456

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: spam.jrcarter.not@spam.acm.org.not (Jeffrey R.Carter)
Newsgroups: comp.lang.ada
Subject: Re: GNAT Error?
Date: Sun, 18 Feb 2024 12:48:53 +0100
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <uqsqr5$10q8l$1@dont-email.me>
References: <uqootl$3rue0$1@dont-email.me> <l3a99aFjrfbU1@mid.individual.net>
<uqos24$3rue0$2@dont-email.me> <uqpi78$9mms$1@dont-email.me>
<uqpime$9jg8$1@dont-email.me> <lyy1bije5y.fsf@pushface.org>
<lyttm6jdnw.fsf@pushface.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 18 Feb 2024 11:48:53 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3a77db304f3e44ffefad49eeb8e6dea8";
logging-data="1075477"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+7yThQ+f+/xtgdi0eli2P4pab7/1vjdJk="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:btrqptQHVpwpPp9l7QN0MJ5mFPg=
In-Reply-To: <lyttm6jdnw.fsf@pushface.org>
Content-Language: en-US
 by: Jeffrey R.Carter - Sun, 18 Feb 2024 11:48 UTC

On 2024-02-18 10:59, Simon Wright wrote:
>
> Oh, you didn't say that -gnata is needed to provoke the error, though
> it's not really a surprise.
>
> Now, only GCC 11.2.0 doesn't have the error; so it's a regression in GCC
> 12.

Sorry, I should have given my compilation options. You're right that I used
-gnata. But I did say it was related to the Dynamic_Predicate.

As you have GNAT 14 and I don't, perhaps it would be best for you to report this.

--
Jeff Carter
"We'll make Rock Ridge think it's a chicken
that got caught in a tractor's nuts!"
Blazing Saddles
87

Re: GNAT Error?

<lyle7hkfjk.fsf@pushface.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=10458&group=comp.lang.ada#10458

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: simon@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: GNAT Error?
Date: Sun, 18 Feb 2024 14:33:51 +0000
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <lyle7hkfjk.fsf@pushface.org>
References: <uqootl$3rue0$1@dont-email.me> <l3a99aFjrfbU1@mid.individual.net>
<uqos24$3rue0$2@dont-email.me> <uqpi78$9mms$1@dont-email.me>
<uqpime$9jg8$1@dont-email.me> <lyy1bije5y.fsf@pushface.org>
<lyttm6jdnw.fsf@pushface.org> <uqsqr5$10q8l$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="ad4299653a872e9f5cf3ec88917e7b30";
logging-data="1258591"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/bng9FxMyS1/auPGeiyK68Eou+g8XWT0Q="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin)
Cancel-Lock: sha1:6OWmx+nurv6itYlDHV6W4+W/3eg=
sha1:wJowUqHg5y1hn/WIhzEcrcOBsc4=
 by: Simon Wright - Sun, 18 Feb 2024 14:33 UTC

"Jeffrey R.Carter" <spam.jrcarter.not@spam.acm.org.not> writes:

> On 2024-02-18 10:59, Simon Wright wrote:
>> Oh, you didn't say that -gnata is needed to provoke the error,
>> though
>> it's not really a surprise.
>> Now, only GCC 11.2.0 doesn't have the error; so it's a regression in
>> GCC
>> 12.
>
> Sorry, I should have given my compilation options. You're right that I
> used -gnata. But I did say it was related to the Dynamic_Predicate.
>
> As you have GNAT 14 and I don't, perhaps it would be best for you to
> report this.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113979

Re: GNAT Error?

<lyr0gmrt1h.fsf@pushface.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=10493&group=comp.lang.ada#10493

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: simon@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: GNAT Error?
Date: Thu, 07 Mar 2024 14:54:50 +0000
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <lyr0gmrt1h.fsf@pushface.org>
References: <uqootl$3rue0$1@dont-email.me> <l3a99aFjrfbU1@mid.individual.net>
<uqos24$3rue0$2@dont-email.me> <uqpi78$9mms$1@dont-email.me>
<uqpime$9jg8$1@dont-email.me> <lyy1bije5y.fsf@pushface.org>
<lyttm6jdnw.fsf@pushface.org> <uqsqr5$10q8l$1@dont-email.me>
<lyle7hkfjk.fsf@pushface.org>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="c7fb6e8ca10d687944ecdc469f571abc";
logging-data="1169636"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18n8uA/qc7SQPLB/on67W1tyB9+PySndAU="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin)
Cancel-Lock: sha1:PIGCBQc2Bsirjap1iZ4SrHtImho=
sha1:g/8Zehc8BKTRCHRgDlbJkRMXoI4=
 by: Simon Wright - Thu, 7 Mar 2024 14:54 UTC

Simon Wright <simon@pushface.org> writes:

> "Jeffrey R.Carter" <spam.jrcarter.not@spam.acm.org.not> writes:
>
>> On 2024-02-18 10:59, Simon Wright wrote:
>>> Oh, you didn't say that -gnata is needed to provoke the error,
>>> though
>>> it's not really a surprise.
>>> Now, only GCC 11.2.0 doesn't have the error; so it's a regression in
>>> GCC
>>> 12.
>>
>> Sorry, I should have given my compilation options. You're right that I
>> used -gnata. But I did say it was related to the Dynamic_Predicate.
>>
>> As you have GNAT 14 and I don't, perhaps it would be best for you to
>> report this.
>
> See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113979

And now fixed on all "active" branches! (that's 11, 12, 13 & master,
judging by the comments)

Of course, it takes a while for this to percolate through to a release.

Re: GNAT Error?

<uscl5a$13rsr$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=10494&group=comp.lang.ada#10494

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: spam.jrcarter.not@spam.acm.org.not (Jeffrey R.Carter)
Newsgroups: comp.lang.ada
Subject: Re: GNAT Error?
Date: Thu, 7 Mar 2024 16:06:18 +0100
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <uscl5a$13rsr$1@dont-email.me>
References: <uqootl$3rue0$1@dont-email.me> <l3a99aFjrfbU1@mid.individual.net>
<uqos24$3rue0$2@dont-email.me> <uqpi78$9mms$1@dont-email.me>
<uqpime$9jg8$1@dont-email.me> <lyy1bije5y.fsf@pushface.org>
<lyttm6jdnw.fsf@pushface.org> <uqsqr5$10q8l$1@dont-email.me>
<lyle7hkfjk.fsf@pushface.org> <lyr0gmrt1h.fsf@pushface.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 7 Mar 2024 15:06:18 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="014c433fced94eeb641a66479791a28b";
logging-data="1175451"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/DDbEPj4v8xh+21RsU/TDpXRi3FxNLqzQ="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Clus50AWUBE8f6kNDrxDfmjkqMA=
In-Reply-To: <lyr0gmrt1h.fsf@pushface.org>
Content-Language: en-US
 by: Jeffrey R.Carter - Thu, 7 Mar 2024 15:06 UTC

On 2024-03-07 15:54, Simon Wright wrote:
> Simon Wright <simon@pushface.org> writes:
>>
>> See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113979
>
> And now fixed on all "active" branches! (that's 11, 12, 13 & master,
> judging by the comments)
>
> Of course, it takes a while for this to percolate through to a release.

Cool. Thanks for reporting this.

--
Jeff Carter
"C's solution to this [variable-sized array parameters] has real
problems, and people who are complaining about safety definitely
have a point."
Dennis Ritchie
25

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor