From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335])
by sourceware.org (Postfix) with ESMTPS id F35633858D1E
for ; Mon, 6 Feb 2023 11:05:56 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F35633858D1E
Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
Received: by mail-wm1-x335.google.com with SMTP id bg26so8391115wmb.0
for ; Mon, 06 Feb 2023 03:05:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20210112;
h=content-transfer-encoding:mime-version:user-agent:message-id
:in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject
:date:message-id:reply-to;
bh=WIRgTJnc8/Z0glLEQprnIABs6ukGoNP7hr84hInSXEE=;
b=o8aw/U9OH85dBPvFneNTeC0Y+E5+SHqnmPA1M20BX7a5FvEMHc35etWU0jvyskWard
zdTavmmG0pZLTpRtykTnbodZvG+lVWbkWHHOJsmU66pHWjiOSmg/TXNrUs1Bhu90DUgr
XPtVhk/k5zd6ONYL8I1NSKTPEiyTQpC9pIHPsHDNzQGe9ceHSpw2ayUF/JWvEwYZVzSw
iGa9HzswCU4CM+EFbHUxzq5VpWvNxdpAQPM1ojbgz9yWdjpYl2qwmU+V59mg7752GcYi
oPbThSmPt1GIhjreL2DG7yUprzeHhEkDzSjm4JinnCqLIG0rcncbi7KoaU3yLvrSARau
6a9w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=content-transfer-encoding:mime-version:user-agent:message-id
:in-reply-to:date:references:subject:cc:to:from:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=WIRgTJnc8/Z0glLEQprnIABs6ukGoNP7hr84hInSXEE=;
b=tTNkRNeZqJXW8CPea65fnt3TE9Ge6/fE663LU7TcYi8UCnlcn8gQH9g8mOAUaQg3c0
mreE90GxSi1ZtywJW9YdaXTV/J9K0pPAUpPYlLhIhQEGlXbM5hJozNxgzfGLl54EgqSE
MQVN4Bhblwfeny6dbMa7bHcUwPm5mUrXsyxQUboe4DUpb4vIvYJbMDWu37ll7I8gbtbf
cpVOT0JZDNVy9H2PMHyPVm8mKmCUTQfuhyYNmZ75+WJljWpNeadsaiHK5JYmPxsFTIh7
CSU1GvBBjRwKJ+aOIE8XzxPprhjV6JReCSYFAyFZRt/lQqBjg8Hrd4Meq8osAb4kohL7
p1Bw==
X-Gm-Message-State: AO0yUKUbNVEjmQmLR3hTinC9k7KkW0YSXKDhTlg1v16ldV/AzeWSJpUv
m7My1KXlOTAqXxgLM+JwZis=
X-Google-Smtp-Source: AK7set/xmS3S5HY+gPhaE2x301Oz0cSyI3FWiF4nrEkAXeaO6Ojm32GzvjiYMzl4QW1gtTGpv6xmBw==
X-Received: by 2002:a05:600c:3d90:b0:3df:eedf:df32 with SMTP id bi16-20020a05600c3d9000b003dfeedfdf32mr10293978wmb.17.1675681555560;
Mon, 06 Feb 2023 03:05:55 -0800 (PST)
Received: from lancelot ([91.84.107.190])
by smtp.gmail.com with ESMTPSA id o35-20020a05600c512300b003cffd3c3d6csm11499505wms.12.2023.02.06.03.05.54
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 06 Feb 2023 03:05:54 -0800 (PST)
Received: from gaius by lancelot with local (Exim 4.94.2)
(envelope-from )
id 1pOzJp-006qC3-6r; Mon, 06 Feb 2023 11:05:53 +0000
From: Gaius Mulley
To: Gerald Pfeifer
Cc: gcc-patches@gcc.gnu.org, Richard Guenther ,
Jakub Jelinek
Subject: Re: [wwwdocs] document modula-2 in gcc-13/changes.html (and
index.html)
References: <87lelels1w.fsf@debian>
<8bb9f1fc-95e8-ebe4-3d87-b3ec28c99add@pfeifer.com>
Date: Mon, 06 Feb 2023 11:05:53 +0000
In-Reply-To: <8bb9f1fc-95e8-ebe4-3d87-b3ec28c99add@pfeifer.com> (Gerald
Pfeifer's message of "Fri, 3 Feb 2023 20:18:57 +0100 (CET)")
Message-ID: <87bkm7xdda.fsf@debian>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,GIT_PATCH_0,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org
List-Id:
Gerald Pfeifer writes:
> On Fri, 3 Feb 2023, Gaius Mulley wrote:
>> The following patch provides a summary of the modula-2 front end
>> and also contains links to the online modula-2 documentation in
>> index.html.
>
>> +Modula-2
>> +
>> + - Support for the language Modula-2 has been added. The dialects
>> + supported are PIM2, PIM3, PIM4 and ISO/IEC 10514-1. Also included
>> + are a complete set of ISO/IEC 10514-1 libraries and PIM
>> + libraries.
>
> I wonder whether we can this a bit more active.=20
>
> Maybe something like "This includes support for the ... dialects, a=20
> complete set of ...and ..."?
>
>> + -
>> + Compiler options.
>
> Maybe put this in parenthesis since it's not an update as such and more=20
> relatives to the previous item?
>
>> + - Linking has been redesigned.
>
> What are we saying here? I.e., what is the change we are announcing? As a=
=20
> user, what might I notice? Why do I care?
>
Thanks for spotting this - agreed.
> The above are questions to possibly improve this for our users. Please=20
> adjust as you see fit, or push as is, if you prefer.
>
>
> On a somewhat related note: This is definitely big enough to warrant an=20
> entry in the News section on our main page. :-) Do you want to propose
> something?
>
> Gerald
Ah yes thank you for the advice - here is an improved proposed patch
containing:
* htdocs/frontends.html: An update to say the front end is now in
the development trunk.
* htdocs/gcc-13/changes.html: A description of which dialects are
supported and the user level front end changes so far.
* htdocs/index.html: Proposed news entry.
* htdocs/onlinedocs/index.html: PDF, PS and HTML documentation
links.
regards,
Gaius
diff --git a/htdocs/frontends.html b/htdocs/frontends.html
index 12af359b..75be4658 100644
--- a/htdocs/frontends.html
+++ b/htdocs/frontends.html
@@ -41,10 +41,10 @@ has a back end that generates assembler directly, using=
the GCC back end.
(at an early stage of development).
=20
- GNU Modula-2 implements
-the PIM2, PIM3, PIM4 and ISO dialects of the language. The compiler
-is fully operational with GCC 10 and GCC 11 (on
-GNU/Linux x86 systems). Work is in progress to move the front end to
-the GCC trunk. The front end is mostly written in Modula-2 and it
+the ISO/IEC 10514-1, PIM2, PIM3 and PIM4 dialects of the language.
+The compiler is operational with GCC 10, GCC 11 GCC 12 (on
+GNU/Linux x86 systems). The front end is now in the GCC development
+trunk (GCC 13). The front end is mostly written in Modula-2 and it
includes a bootstrap tool which translates Modula-2 into C/C++.
=20
- Modula-3 (for links see
=20
=20
+
Modula-2
+
+ - Support for the language Modula-2 has been added. This includes
+ support for the ISO/IEC 10514-1, PIM2, PIM3, PIM4 dialects
+ together with a complete set of ISO/IEC 10514-1 and PIM
+ libraries.
+ - The
<* noreturn *>
attribute is supported
+ with the -Wreturn-type
+
+ option.
+
+
=20
diff --git a/htdocs/index.html b/htdocs/index.html
index 80730c06..3d03ef46 100644
--- a/htdocs/index.html
+++ b/htdocs/index.html
@@ -61,6 +61,11 @@ mission statement.
has been contributed to Compiler Explorer (aka godbolt.org) by Marc
Poulhi=C3=A8s
=20
+Modula-2 front end added=
+ [2022-12-14]
+The Modula-2 programming language front end has been added to GCC.
+ This front end was contributed by Gaius Mulley.
+
GNU Tools Caul=
dron 2022
[2022-09-02]
Prague, Czech Republic and online, September 16-18 2022
diff --git a/htdocs/onlinedocs/index.html b/htdocs/onlinedocs/index.html
index 343ff9f5..27a8a505 100644
--- a/htdocs/onlinedocs/index.html
+++ b/htdocs/onlinedocs/index.html
@@ -1647,6 +1647,12 @@ existing release.
href=3D"https://gcc.gnu.org/onlinedocs/gdc.ps.gz">PostScript or an
HTML tarball)
+ GNU M2 Manual (=
also in
+ PDF or PostScript=
or an
+ HTML tarball)
GNU Offloading=
and
Multi Processing Runtime Library Manual (also in