Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The sum of the Universe is zero.


devel / comp.lang.ada / GCC release notes, aka, Ada is still alive!

SubjectAuthor
* GCC release notes, aka, Ada is still alive!Fernando Oleo Blanco
+* Re: GCC release notes, aka, Ada is still alive!Fabien Chouteau
|`* Re: GCC release notes, aka, Ada is still alive!Tero Koskinen
| `* Re: GCC release notes, aka, Ada is still alive!Tero Koskinen
|  `* Re: GCC release notes, aka, Ada is still alive!Fernando Oleo Blanco
|   `- Re: GCC release notes, aka, Ada is still alive!Simon Wright
+* Re: GCC release notes, aka, Ada is still alive!Stéphane Rivière
|`- Re: GCC release notes, aka, Ada is still alive!J-P. Rosen
`* Re: GCC release notes, aka, Ada is still alive!Fernando Oleo Blanco
 `* Re: GCC release notes, aka, Ada is still alive!Fernando Oleo Blanco
  +* Re: GCC release notes, aka, Ada is still alive!Simon Wright
  |`* Re: GCC release notes, aka, Ada is still alive!Fernando Oleo Blanco
  | `- Re: GCC release notes, aka, Ada is still alive!Simon Wright
  `* Re: GCC release notes, aka, Ada is still alive!Fernando Oleo Blanco
   `* Re: GCC release notes, aka, Ada is still alive!Stephen Leake
    `- Re: GCC release notes, aka, Ada is still alive!Fernando Oleo Blanco

1
GCC release notes, aka, Ada is still alive!

<sk20ge$1gv5$1@gioia.aioe.org>

 copy mid

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

 copy link   Newsgroups: comp.lang.ada
Path: rocksolid2!news.neodome.net!news.mixmin.net!aioe.org!QeSZwl4tgN8DcItoecWTtQ.user.46.165.242.75.POSTED!not-for-mail
From: irvise...@irvise.xyz (Fernando Oleo Blanco)
Newsgroups: comp.lang.ada
Subject: GCC release notes, aka, Ada is still alive!
Date: Mon, 11 Oct 2021 20:41:18 +0200
Organization: Aioe.org NNTP Server
Message-ID: <sk20ge$1gv5$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="50149"; posting-host="QeSZwl4tgN8DcItoecWTtQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.2.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Fernando Oleo Blanco - Mon, 11 Oct 2021 18:41 UTC

Hi everybody,

I have been meaning to write this message for a long while, so here it goes.

Reading Phoronix [1] for years, I noticed that with every new GCC
release, the biggest changes to GCC and its languages were mentioned.
However, Ada was pretty much never present.

Today, just a few moments ago in #netbsd, someone asked whether Ada had
finally been dropped out of GCC... I am not even mad. GCC's release
notes have not mentioned Ada since GCC 8 [2], [3], [4]; and even in GCC
7 and 8 the notes are minute.

So I would like to ask whether someone would like to help me get release
notes ready. I am not saying that I will be doing much, but I would like
to breath some fresh air into how Ada is seen and how much people hear
about it.

I personally do not like marketing since good products stand on their
merits, not slogans or shininess. But there is no reason to not put
publicly what is going on.

Yes, AdaCore has been doing some very nice followups to the development
of Ada in their blog [5]. But the people that go there, are already
aware of Ada. And since AdaCore is phasing out their GNAT CE system in
favour of FSF builds (included in Alire), the relevance of GCC's
releases grows.

Note, I am not implying that AdaCore should write the releases. They are
doing the bulk of work in GNAT, so I do not think they _need_ to do
more. Personally I am glad with what they are doing, but of course, they
can write the releases if they so want.

I am specially saddened by the fact that GCC has gotten a substantial
amount of support for Ada 2022 and it is not even mentioned. No wonder
why people think Ada is dead!

So, if you have any recommendation, or would like to help, then you are
more than welcomed!

P.S.: I am already doing my part GNAT in NetBSD x86_64 is working! It
has 9 failed ACATS tests, but they are minor. A thousand thanks go to J.
Marino and Tobiasu for their enormous help in #ada. Today I will see if
I can compile it for armv6 and run it on my RPi!

[1] https://www.phoronix.com/scan.php?page=home
[2] https://gcc.gnu.org/gcc-7/changes.html
[3] https://gcc.gnu.org/gcc-8/changes.html
[4] https://gcc.gnu.org/gcc-9/changes.html
[5] https://blog.adacore.com/
--
Fernando Oleo Blanco
https://irvise.xyz

Re: GCC release notes, aka, Ada is still alive!

<e951f1d5-2262-4c8d-85d8-e344556dcbb1n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a37:ba06:: with SMTP id k6mr19287410qkf.312.1634043274051;
Tue, 12 Oct 2021 05:54:34 -0700 (PDT)
X-Received: by 2002:a25:6106:: with SMTP id v6mr28182449ybb.531.1634043273837;
Tue, 12 Oct 2021 05:54:33 -0700 (PDT)
Path: rocksolid2!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Tue, 12 Oct 2021 05:54:33 -0700 (PDT)
In-Reply-To: <sk20ge$1gv5$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=89.157.139.225; posting-account=L3mulQoAAADsXVjCD5rM6Ap3Xy0U3ckB
NNTP-Posting-Host: 89.157.139.225
References: <sk20ge$1gv5$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e951f1d5-2262-4c8d-85d8-e344556dcbb1n@googlegroups.com>
Subject: Re: GCC release notes, aka, Ada is still alive!
From: fabien.c...@gmail.com (Fabien Chouteau)
Injection-Date: Tue, 12 Oct 2021 12:54:34 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 7
 by: Fabien Chouteau - Tue, 12 Oct 2021 12:54 UTC

On Monday, October 11, 2021 at 8:41:22 PM UTC+2, Fernando Oleo Blanco wrote:
> Yes, AdaCore has been doing some very nice followups to the development
> of Ada in their blog [5]. But the people that go there, are already
> aware of Ada.

Most, if not all, of what is in this blog post [1] is applicable to GNAT/GCC 11.

[1] https://blog.adacore.com/ada-202x-support-in-gnat

Re: GCC release notes, aka, Ada is still alive!

<20211012213725.e8a738457d6f104f6ffbe0df@iki.fi>

 copy mid

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

 copy link   Newsgroups: comp.lang.ada
Path: rocksolid2!news.neodome.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: tero.kos...@iki.fi (Tero Koskinen)
Newsgroups: comp.lang.ada
Subject: Re: GCC release notes, aka, Ada is still alive!
Date: Tue, 12 Oct 2021 21:37:25 +0300
Lines: 32
Message-ID: <20211012213725.e8a738457d6f104f6ffbe0df@iki.fi>
References: <sk20ge$1gv5$1@gioia.aioe.org>
<e951f1d5-2262-4c8d-85d8-e344556dcbb1n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Trace: individual.net TDDQLCTcoNHL2dwlH2OIMwA18Ha6tLpBLnGUfdBugr0T1hGODB
Cancel-Lock: sha1:kHc4M/FU5x+9dnifsF/Y8lKsJAM=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu)
 by: Tero Koskinen - Tue, 12 Oct 2021 18:37 UTC

Hi,

On Tue, 12 Oct 2021 05:54:33 -0700 (PDT)
Fabien Chouteau <fabien.chouteau@gmail.com> wrote:

> On Monday, October 11, 2021 at 8:41:22 PM UTC+2, Fernando Oleo Blanco wrote:
> > Yes, AdaCore has been doing some very nice followups to the development
> > of Ada in their blog [5]. But the people that go there, are already
> > aware of Ada.
>
> Most, if not all, of what is in this blog post [1] is applicable to GNAT/GCC 11.
>
> [1] https://blog.adacore.com/ada-202x-support-in-gnat

I guess the main point of Fernando was that it would be nice if someone
could add all the new changes between versions 11 and 12 to
https://gcc.gnu.org/gcc-12/changes.html before GCC 12 is released.

gcc-X/changes.html traditionally lists some items for all other language
frontends, but there is never anything for Ada.

The git history for gcc-12/changes.html page is visible at
https://gcc.gnu.org/git/?p=gcc-wwwdocs.git;a=history;f=htdocs/gcc-12/changes.html;h=f38fd2bef9c4089369e6f9315590ebffd8b24f5c;hb=HEAD

(that is gcc-wwwdocs repository at gcc.gnu.org/git).

Maybe someone with enough free time (and enough knowledge about the
changes) could take look and provide a patch for GCC web page
maintainers?

Yours,
Tero

Re: GCC release notes, aka, Ada is still alive!

<20211012222808.89d5824ee18392056af83090@iki.fi>

 copy mid

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

 copy link   Newsgroups: comp.lang.ada
Path: rocksolid2!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: tero.kos...@iki.fi (Tero Koskinen)
Newsgroups: comp.lang.ada
Subject: Re: GCC release notes, aka, Ada is still alive!
Date: Tue, 12 Oct 2021 22:28:08 +0300
Lines: 47
Message-ID: <20211012222808.89d5824ee18392056af83090@iki.fi>
References: <sk20ge$1gv5$1@gioia.aioe.org>
<e951f1d5-2262-4c8d-85d8-e344556dcbb1n@googlegroups.com>
<20211012213725.e8a738457d6f104f6ffbe0df@iki.fi>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 2wg40DjU8YCmUYmqotLQpwgNcWF096NXr998zE+t5vKckjckK1
Cancel-Lock: sha1:vTrv6dHkoaMV5Mkd56eA5keKElY=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu)
 by: Tero Koskinen - Tue, 12 Oct 2021 19:28 UTC

On Tue, 12 Oct 2021 21:37:25 +0300
Tero Koskinen <tero.koskinen@iki.fi> wrote:
> gcc-wwwdocs repository at gcc.gnu.org/git
> Maybe someone

I decided to try an example. I must confess that I don't know where
the cutoff point for GCC 11 was and what it changes actually did
(the commit log messages aren't that clear if you don't actually
follow the development of GCC/GNAT/Ada in detail).

But here is the idea what the patches could looks like. (And yes,
I know that comp.lang.ada is totally incorrect place for the diff.)

From e9e0e6e178b0acb0021abe6aaadaa14ef00e8d2f Mon Sep 17 00:00:00 2001
From: Tero Koskinen <tero.koskinen@iki.fi>
Date: Tue, 12 Oct 2021 22:23:01 +0300
Subject: [PATCH] [GCC-12] Mention some GNAT changes.

---
htdocs/gcc-12/changes.html | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html
index f38fd2be..5710ad8f 100644
--- a/htdocs/gcc-12/changes.html
+++ b/htdocs/gcc-12/changes.html
@@ -109,7 +109,17 @@ a work-in-progress.</p>
</li>
</ul>
-<!-- <h3 id="ada">Ada</h3> -->
+<h3 id="ada">Ada</h3>
+ +<ul>
+ <li>Implemented or improved following Ada 202x features:
+ <ul>
+ <li>AI12-0195: overriding class-wide pre/postconditions</li>
+ <li>AI12-0212: Container aggregates</li>
+ </ul>
+ </li>
+ <li>Marked gnatfind and gnatxref tools as obsolete</li>
+</ul>
<!-- <h3 id="brig">BRIG (HSAIL)</h3> -->
--
2.31.1

Re: GCC release notes, aka, Ada is still alive!

<sk71mv$doe$1@gioia.aioe.org>

 copy mid

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

 copy link   Newsgroups: comp.lang.ada
Path: rocksolid2!i2pn.org!aioe.org!WqHie3Arq0S4Q6dDdV3Snw.user.46.165.242.75.POSTED!not-for-mail
From: irvise...@irvise.xyz (Fernando Oleo Blanco)
Newsgroups: comp.lang.ada
Subject: Re: GCC release notes, aka, Ada is still alive!
Date: Wed, 13 Oct 2021 18:32:30 +0200
Organization: Aioe.org NNTP Server
Message-ID: <sk71mv$doe$1@gioia.aioe.org>
References: <sk20ge$1gv5$1@gioia.aioe.org>
<e951f1d5-2262-4c8d-85d8-e344556dcbb1n@googlegroups.com>
<20211012213725.e8a738457d6f104f6ffbe0df@iki.fi>
<20211012222808.89d5824ee18392056af83090@iki.fi>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="14094"; posting-host="WqHie3Arq0S4Q6dDdV3Snw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.2.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Fernando Oleo Blanco - Wed, 13 Oct 2021 16:32 UTC

Thank you to everybody that commented on the topic.

We could use the Changelog present in the gcc/ada directory to triage
commits more precisely (credit goes to Stéphane).

On 12.10.21 21:28, Tero Koskinen wrote:
> I decided to try an example. I must confess that I don't know where
> the cutoff point for GCC 11 was and what it changes actually did
> (the commit log messages aren't that clear if you don't actually
> follow the development of GCC/GNAT/Ada in detail).

To be honest, we could try to write the changelog for GCC 11 with the
information given by Fabien (AdaCore) and what we find out. If for
whatever reason the GCC people do not want to make large changes to the
already released changelog, we could compile a larger list for GCC 12.

I think the most important aspects are:
- Ada 2022, which has a long list of changes on its own;
- Improvements to systems (VxWorks, RTMS, etc), as it shows that Ada is
present in more places than what meets the eye;
- Deprecations and fixes;
- General improvements in the library, SPARK and with the GCC ecosystem.
I think Ada has somewhat acceptable support for OpenMP, which was
improved in the past few years, for example. It has also been increasing
SPARK support in the libraries.

> But here is the idea what the patches could looks like. (And yes,
> I know that comp.lang.ada is totally incorrect place for the diff.)

I think that the diff included is a good example of what it would be to
write the main changes.

I want to sign up for GCC's gcc mailing list (general discussion) and
ask the GCC people what would be the preferred way to move forward. Hey,
maybe they would like to have Ada changelogs for all past releases! If I
hear anything back I will tell you.

Though if someone wants to start, I see no problem on sharing diffs
here. Not the most ideal place, but it is a good forum to share ideas.

Regards,
--
Fernando Oleo Blanco
https://irvise.xyz

Re: GCC release notes, aka, Ada is still alive!

<lyily0g0gc.fsf@pushface.org>

 copy mid

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

 copy link   Newsgroups: comp.lang.ada
Path: rocksolid2!i2pn.org!aioe.org!8nKyDL3nVTTIdBB8axZhRA.user.46.165.242.75.POSTED!not-for-mail
From: sim...@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: GCC release notes, aka, Ada is still alive!
Date: Wed, 13 Oct 2021 20:59:47 +0100
Organization: Aioe.org NNTP Server
Message-ID: <lyily0g0gc.fsf@pushface.org>
References: <sk20ge$1gv5$1@gioia.aioe.org>
<e951f1d5-2262-4c8d-85d8-e344556dcbb1n@googlegroups.com>
<20211012213725.e8a738457d6f104f6ffbe0df@iki.fi>
<20211012222808.89d5824ee18392056af83090@iki.fi>
<sk71mv$doe$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="62771"; posting-host="8nKyDL3nVTTIdBB8axZhRA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin)
Cancel-Lock: sha1:rc7Aa0HEtLE2vFKQgre5T1T+RKo=
X-Notice: Filtered by postfilter v. 0.9.2
 by: Simon Wright - Wed, 13 Oct 2021 19:59 UTC

Fernando Oleo Blanco <irvise_ml@irvise.xyz> writes:

> - General improvements in the library, SPARK and with the GCC
> ecosystem. I think Ada has somewhat acceptable support for OpenMP,
> which was improved in the past few years, for example. It has also
> been increasing SPARK support in the libraries.

Not sure how to work SPARK into a GCC note, since it's not part of the
GCC ecosystem?

"There's extensive support for possible static analysis of code,
e.g. via SPARK, in the form of annotations that can optionally be
compiled as runtime assertions."

Re: GCC release notes, aka, Ada is still alive!

<sk8pfk$8i6$1@dont-email.me>

 copy mid

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

 copy link   Newsgroups: comp.lang.ada
Path: rocksolid2!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ste...@genesix.org (Stéphane Rivière)
Newsgroups: comp.lang.ada
Subject: Re: GCC release notes, aka, Ada is still alive!
Date: Thu, 14 Oct 2021 10:24:20 +0200
Organization: La Maison
Lines: 42
Message-ID: <sk8pfk$8i6$1@dont-email.me>
References: <sk20ge$1gv5$1@gioia.aioe.org>
Reply-To: stef@genesix.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 14 Oct 2021 08:24:20 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="9f975f40e70d79f51a0b668b991169a4";
logging-data="8774"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18jGzszFNAQZ0iViG779nvKHpnzqGOnulo="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
Cancel-Lock: sha1:L0mt4Sk6z3iIIKE25UR8p/j/E9E=
In-Reply-To: <sk20ge$1gv5$1@gioia.aioe.org>
Content-Language: fr
 by: Stéphane Rivière - Thu, 14 Oct 2021 08:24 UTC

Hope this time, it will working... (random problem here sending to NG
groups)

Hi Fernando,

> So, if you have any recommendation, or would like to help, then you are
> more than welcomed!

I second that and I would like to help, if I may.

According to gcc-mirror on github, Ada basecode is above C++

C 47.7%
Ada 17.5%
C++ 14.9%
Go 7.4%
GCC Machine Description 4.7%
Fortran 2.4%
Other 5.4%

git clone https://github.com/gcc-mirror/gcc

git log > log.gcc (volume: 124M)
cat log.gcc | grep adacore > log.ada (1M, ~25K contribs since 2005)
grep "\[Ada\]" ./log.gcc > log-oneliner.ada (190K, 3200 lines)

grep -B 2 -A 20 adacore log.gcc > log-detail.ada
cat log-detail.ada | grep -B 2 -A 20 [ada] log.gcc > log-changes.ada

It seems that everything is there to create a more or less relevant
changelog.

But Adalog's comments are one thing, sorted and relevant informations
for developers are another.

A raw copy/paste would be useless, we would have to analyze the
changelog to give back useful information.

We should also edit a changelog for each GCC release. The above metrics
were made on master.

Re: GCC release notes, aka, Ada is still alive!

<sk90t2$k4r$1@dont-email.me>

 copy mid

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

 copy link   Newsgroups: comp.lang.ada
Path: rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ros...@adalog.fr (J-P. Rosen)
Newsgroups: comp.lang.ada
Subject: Re: GCC release notes, aka, Ada is still alive!
Date: Thu, 14 Oct 2021 12:31:01 +0200
Organization: Adalog
Lines: 11
Message-ID: <sk90t2$k4r$1@dont-email.me>
References: <sk20ge$1gv5$1@gioia.aioe.org> <sk8pfk$8i6$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 14 Oct 2021 10:30:59 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="97252aac6818faf18ed1ddd9422d6072";
logging-data="20635"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/hdkPGt6J/ItN2PA8mV+U/"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
Cancel-Lock: sha1:95fkXnPI1LgiC4h4KRJCaJHtYJM=
In-Reply-To: <sk8pfk$8i6$1@dont-email.me>
Content-Language: fr
 by: J-P. Rosen - Thu, 14 Oct 2021 10:31 UTC

Le 14/10/2021 à 10:24, Stéphane Rivière a écrit :
> But Adalog's comments are one thing, sorted and relevant informations
> for developers are another.
I think you meant Adacore's...

--
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52
https://www.adalog.fr

Re: GCC release notes, aka, Ada is still alive!

<skokpc$1ubl$1@gioia.aioe.org>

 copy mid

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

 copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!OLTmHfAYKwqrqqNdfEfbZA.user.46.165.242.75.POSTED!not-for-mail
From: irvise...@irvise.xyz (Fernando Oleo Blanco)
Newsgroups: comp.lang.ada
Subject: Re: GCC release notes, aka, Ada is still alive!
Date: Wed, 20 Oct 2021 10:42:20 +0200
Organization: Aioe.org NNTP Server
Message-ID: <skokpc$1ubl$1@gioia.aioe.org>
References: <sk20ge$1gv5$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="63861"; posting-host="OLTmHfAYKwqrqqNdfEfbZA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.2.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Fernando Oleo Blanco - Wed, 20 Oct 2021 08:42 UTC

The discussion thread on the GCC ML has been started. You can find it
here: https://gcc.gnu.org/pipermail/gcc/2021-October/237600.html

Do not hesitate to add any comments!

Regards,
--
Fernando Oleo Blanco
https://irvise.xyz

Re: GCC release notes, aka, Ada is still alive!

<skptc1$r8f$1@gioia.aioe.org>

 copy mid

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

 copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!+NwfL+XmziqH0cNgYOGAZQ.user.46.165.242.75.POSTED!not-for-mail
From: irvise...@irvise.xyz (Fernando Oleo Blanco)
Newsgroups: comp.lang.ada
Subject: Re: GCC release notes, aka, Ada is still alive!
Date: Wed, 20 Oct 2021 22:14:57 +0200
Organization: Aioe.org NNTP Server
Message-ID: <skptc1$r8f$1@gioia.aioe.org>
References: <sk20ge$1gv5$1@gioia.aioe.org> <skokpc$1ubl$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="27919"; posting-host="+NwfL+XmziqH0cNgYOGAZQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.2.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Fernando Oleo Blanco - Wed, 20 Oct 2021 20:14 UTC

On 20.10.21 10:42, Fernando Oleo Blanco wrote:
> The discussion thread on the GCC ML has been started. You can find it
> here: https://gcc.gnu.org/pipermail/gcc/2021-October/237600.html
>
> Do not hesitate to add any comments!
>
> Regards,

Okay, we already had a couple of comments and they cover everything
needed. Arnaud has volunteered to be the "supervisor". So here is my
plan: crowdsourcing! :D

I would like to write a (simple) list of changes for each version here,
on the CLA. If you want to add something __copy__ (do not quote) the
list from the previous person/reply/modification and add your proposed
changes. You can also make comments if you would like anything changed.
If "CHECK" or if "TODO" are written by somebody, it means that something
needs to be checked or that it needs to be expanded; respectively. After
the list is mostly completed, we could create a patch(es) to send to
GCC. The quality of this list is not going to be great, treat it like a
checklist. Obviously, if you want to discuss something about the
changes, do quote the relevant section.

So here it goes:

BEGIN CHANGES_LIST

GCC 12
- - Further library improvements in both quality and performance.
- The use of contracts has been extended in the "Ada library" allowing
for further checks at runtime or a deeper static analysis with the SPARK
prover.
- Further improvements to embedded systems such as VxWorks and RTMS.
CHECK maybe be more specific/generic.

GCC 11
- Introduction of the -gnat2022 flag in gnatmake. It enables newer
features present in Ada 2022 (still to be ratified). This features are
still experimental.
- The parallel keyword is still unsupported.
- TODO name the additional features. See [1], obviously, with some
code examples.
- Addition of the Jorvik profile. CHECK, see [2], maybe code examples?
- Additional non-standard features [3]. CHECK if this applies to GCC 11
or 12.
- A bug was fixed were previous GCC versions allowed XXX construct
CHECK. This is not allowed by the standard. Some software was making use
of XXX (which is, once again, not allowed) and it has to be patched.
- General library improvements in both clarity and performance.
- The use of contracts has been extended in the "Ada library" allowing
for further checks at runtime or a deeper static analysis with the SPARK
prover.
- Further improvements to embedded systems such as VxWorks and RTMS.
CHECK maybe be more specific/generic.

GCC 10
- Some Ada 2022 features are available already with the use of the
-gnatX (gnat eXtensions switch).
-

GCC 9
- -

PREVIOUS GCCs (I will not explicitly name them, feel free to add info here)

References
[1] https://blog.adacore.com/ada-202x-support-in-gnat
[2] https://blog.adacore.com/introduction-to-jorvik
[3] https://blog.adacore.com/going-beyond-ada-2022

END CHANGES_LIST

Regards,
--
Fernando Oleo Blanco
https://irvise.xyz

Re: GCC release notes, aka, Ada is still alive!

<lyv91rgzrz.fsf@pushface.org>

 copy mid

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

 copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!8nKyDL3nVTTIdBB8axZhRA.user.46.165.242.75.POSTED!not-for-mail
From: sim...@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: GCC release notes, aka, Ada is still alive!
Date: Wed, 20 Oct 2021 22:19:28 +0100
Organization: Aioe.org NNTP Server
Message-ID: <lyv91rgzrz.fsf@pushface.org>
References: <sk20ge$1gv5$1@gioia.aioe.org> <skokpc$1ubl$1@gioia.aioe.org>
<skptc1$r8f$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="13791"; posting-host="8nKyDL3nVTTIdBB8axZhRA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin)
X-Notice: Filtered by postfilter v. 0.9.2
Cancel-Lock: sha1:K7rbe8IEY7XsN22ahK0mxxGMz7g=
 by: Simon Wright - Wed, 20 Oct 2021 21:19 UTC

Fernando Oleo Blanco <irvise_ml@irvise.xyz> writes:

> GCC 11
> - Introduction of the -gnat2022 flag in gnatmake.

Actually -gnat2020. Still like that in a May revision of GCC 12.

Supports 128-bit integers & unsigneds. Not sure if this is on all
platforms.

Re: GCC release notes, aka, Ada is still alive!

<skru3b$j70$1@gioia.aioe.org>

 copy mid

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

 copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!v5M0Kuw7cojEb7tYBQ47GA.user.46.165.242.75.POSTED!not-for-mail
From: irvise...@irvise.xyz (Fernando Oleo Blanco)
Newsgroups: comp.lang.ada
Subject: Re: GCC release notes, aka, Ada is still alive!
Date: Thu, 21 Oct 2021 16:39:39 +0200
Organization: Aioe.org NNTP Server
Message-ID: <skru3b$j70$1@gioia.aioe.org>
References: <sk20ge$1gv5$1@gioia.aioe.org> <skokpc$1ubl$1@gioia.aioe.org>
<skptc1$r8f$1@gioia.aioe.org> <lyv91rgzrz.fsf@pushface.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="19680"; posting-host="v5M0Kuw7cojEb7tYBQ47GA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.2.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Fernando Oleo Blanco - Thu, 21 Oct 2021 14:39 UTC

On 20.10.21 23:19, Simon Wright wrote:
> Fernando Oleo Blanco <irvise_ml@irvise.xyz> writes:
>
>> GCC 11
>> - Introduction of the -gnat2022 flag in gnatmake.
>
> Actually -gnat2020. Still like that in a May revision of GCC 12.
>
> Supports 128-bit integers & unsigneds. Not sure if this is on all
> platforms.
>

In GNAT CE 2021 there is -gnat2022... Maybe they still need to upstream
those changes. I tried it with GCC 11.2.0. You are right, it is -gnat2020.

However, it is not documented! I ran gnatmake alone to see what flags it
outputs and -gnat2020 is not listed... Maybe this is a bug. It should
definitely be fixed if the changelog is going to have it listed as an
option.

Regards,
--
Fernando Oleo Blanco
https://irvise.xyz

Re: GCC release notes, aka, Ada is still alive!

<lyo87i1bm1.fsf@pushface.org>

 copy mid

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

 copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!8nKyDL3nVTTIdBB8axZhRA.user.46.165.242.75.POSTED!not-for-mail
From: sim...@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: GCC release notes, aka, Ada is still alive!
Date: Thu, 21 Oct 2021 19:22:46 +0100
Organization: Aioe.org NNTP Server
Message-ID: <lyo87i1bm1.fsf@pushface.org>
References: <sk20ge$1gv5$1@gioia.aioe.org> <skokpc$1ubl$1@gioia.aioe.org>
<skptc1$r8f$1@gioia.aioe.org> <lyv91rgzrz.fsf@pushface.org>
<skru3b$j70$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="52952"; posting-host="8nKyDL3nVTTIdBB8axZhRA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin)
Cancel-Lock: sha1:Xh3Oz1qTrH9NQEyJPw4ZRmOGl1E=
X-Notice: Filtered by postfilter v. 0.9.2
 by: Simon Wright - Thu, 21 Oct 2021 18:22 UTC

Fernando Oleo Blanco <irvise_ml@irvise.xyz> writes:

> On 20.10.21 23:19, Simon Wright wrote:
>> Fernando Oleo Blanco <irvise_ml@irvise.xyz> writes:
>>
>>> GCC 11
>>> - Introduction of the -gnat2022 flag in gnatmake.
>> Actually -gnat2020. Still like that in a May revision of GCC 12.
>> Supports 128-bit integers & unsigneds. Not sure if this is on all
>> platforms.
>>
>
> In GNAT CE 2021 there is -gnat2022... Maybe they still need to
> upstream those changes. I tried it with GCC 11.2.0. You are right, it
> is -gnat2020.
>
> However, it is not documented! I ran gnatmake alone to see what flags
> it outputs and -gnat2020 is not listed... Maybe this is a bug. It
> should definitely be fixed if the changelog is going to have it listed
> as an option.

With today's GCC 12.0.0, gnatmake -h has -gnat2022.

Re: GCC release notes, aka, Ada is still alive!

<sl6u3a$1lvn$1@gioia.aioe.org>

 copy mid

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

 copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!8KeuxbixIu8pyD1r33Cwzw.user.46.165.242.75.POSTED!not-for-mail
From: irvise...@irvise.xyz (Fernando Oleo Blanco)
Newsgroups: comp.lang.ada
Subject: Re: GCC release notes, aka, Ada is still alive!
Date: Mon, 25 Oct 2021 20:47:05 +0200
Organization: Aioe.org NNTP Server
Message-ID: <sl6u3a$1lvn$1@gioia.aioe.org>
References: <sk20ge$1gv5$1@gioia.aioe.org> <skokpc$1ubl$1@gioia.aioe.org>
<skptc1$r8f$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="55287"; posting-host="8KeuxbixIu8pyD1r33Cwzw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.2.1
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Fernando Oleo Blanco - Mon, 25 Oct 2021 18:47 UTC

Diff: add to GCC 12 the deletion of gnatxref and gnatfind (the patch was
posted today in the ML). The -gnat2020 has been commented too in GCC 10
and -gnat2022 in GCC 12. Also, we have explicit permission by Arnaud to
copy as much code as necessary from AdaCore's blog.

LIST OF CHANGES

GCC 12
- Introduction of the -gnat2022 flag in gnatmake (-gnat2020 is a
deprecated alias).
- gnatfind and gnatxref tools have been deleted. They have been
deprecated for years and have been substituted by gprbuild tools.
- Further library improvements in both quality and performance.
- The use of contracts has been extended in the "Ada library" allowing
for further checks at runtime or a deeper static analysis with the SPARK
prover.
- Further improvements to embedded systems such as VxWorks and RTMS.
CHECK maybe be more specific/generic.

GCC 11
- Better Ada 2022 support. The parallel keyword is still unsupported.
- TODO name the additional features. See [1], obviously, with some code
examples.
- Addition of the Jorvik profile. CHECK, see [2], maybe code examples?
- Additional non-standard features [3]. CHECK if this applies to GCC 11
or 12.
- A bug was fixed were previous GCC versions allowed XXX construct
CHECK. This is not allowed by the standard. Some software was making use
of XXX (which is, once again, not allowed) and it has to be patched.
- General library improvements in both clarity and performance.
- The use of contracts has been extended in the "Ada library" allowing
for further checks at runtime or a deeper static analysis with the SPARK
prover.
- Further improvements to embedded systems such as VxWorks and RTMS.
CHECK maybe be more specific/generic.

GCC 10
- Introduction of the -gnat2020 flag in gnatmake (-gnat2020 is
deprecated alias). It enables newer features present in Ada 2022 (still
to be ratified). This features are still experimental.
- Some Ada 2022 features are available already with the use of the
-gnatX (gnat eXtensions switch).
-

GCC 9
- -

Cheers,
--
Fernando Oleo Blanco
https://irvise.xyz

Re: GCC release notes, aka, Ada is still alive!

<861r46wgtx.fsf@stephe-leake.org>

 copy mid

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

 copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!6MpDoNrA+2KoZyE4OD7oYg.user.46.165.242.75.POSTED!not-for-mail
From: stephen_...@stephe-leake.org (Stephen Leake)
Newsgroups: comp.lang.ada
Subject: Re: GCC release notes, aka, Ada is still alive!
Date: Wed, 27 Oct 2021 09:52:26 -0700
Organization: Aioe.org NNTP Server
Message-ID: <861r46wgtx.fsf@stephe-leake.org>
References: <sk20ge$1gv5$1@gioia.aioe.org> <skokpc$1ubl$1@gioia.aioe.org>
<skptc1$r8f$1@gioia.aioe.org> <sl6u3a$1lvn$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="36887"; posting-host="6MpDoNrA+2KoZyE4OD7oYg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt)
Cancel-Lock: sha1:WVjdOlFgjag96SJjOtc/ylakXYo=
X-Notice: Filtered by postfilter v. 0.9.2
 by: Stephen Leake - Wed, 27 Oct 2021 16:52 UTC

Fernando Oleo Blanco <irvise_ml@irvise.xyz> writes:

> - gnatfind and gnatxref tools have been deleted. They have been
> deprecated for years and have been substituted by gprbuild tools.

What "gprbuild tool" replaces gnatxref?

From recent discussions in an AdaCore ticket, the replacement for
gnatxref is libadalang, either via the LSP Ada Language Server, or a
similar custom wrapper.

--
-- Stephe

Re: GCC release notes, aka, Ada is still alive!

<sldn3m$1him$1@gioia.aioe.org>

 copy mid

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

 copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!LEnIHOQK7Ou4eveV2hvJdw.user.46.165.242.75.POSTED!not-for-mail
From: irvise...@irvise.xyz (Fernando Oleo Blanco)
Newsgroups: comp.lang.ada
Subject: Re: GCC release notes, aka, Ada is still alive!
Date: Thu, 28 Oct 2021 10:30:46 +0200
Organization: Aioe.org NNTP Server
Message-ID: <sldn3m$1him$1@gioia.aioe.org>
References: <sk20ge$1gv5$1@gioia.aioe.org> <skokpc$1ubl$1@gioia.aioe.org>
<skptc1$r8f$1@gioia.aioe.org> <sl6u3a$1lvn$1@gioia.aioe.org>
<861r46wgtx.fsf@stephe-leake.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="50774"; posting-host="LEnIHOQK7Ou4eveV2hvJdw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.2.1
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Fernando Oleo Blanco - Thu, 28 Oct 2021 08:30 UTC

On 27.10.21 18:52, Stephen Leake wrote:
> Fernando Oleo Blanco <irvise_ml@irvise.xyz> writes:
>
>> - gnatfind and gnatxref tools have been deleted. They have been
>> deprecated for years and have been substituted by gprbuild tools.
>
> What "gprbuild tool" replaces gnatxref?
>
> From recent discussions in an AdaCore ticket, the replacement for
> gnatxref is libadalang, either via the LSP Ada Language Server, or a
> similar custom wrapper.
>

Oh, indeed. I thought only about gnatfind. Sorry for the confusion!

I am also looking for a way for everybody to help write the patches.
Maybe a github with the original changes.html document and the modified
one... I will see. I do not want to force anybody to use a specific
platform. Email patches will always be welcome.

Regards,
--
Fernando Oleo Blanco
https://irvise.xyz

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor