[wwwdocs] modula2 update for changes.html, index.html, readings.html and frontends.html

Message ID 87y19kqcmb.fsf@localhost
State New
Series [wwwdocs] modula2 update for changes.html, index.html, readings.html and frontends.html |


Context Check Description
linaro-tcwg-bot/tcwg_gcc_build--master-arm fail Patch failed to apply
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 fail Patch failed to apply

Commit Message

Gaius Mulley April 11, 2024, 12:59 p.m. UTC

Here are a proposed set of patches to highlight the changes in the
modula-2 frontend for GCC 14.1.

The patches also contain updates for:

  * readings.html: Add Modula-2 language standards.
  * index.html: Modula-2 listed in the languages supported by GCC.
  * frontends.html: Update now Modula-2 is in the tree.
  * changes.html: Highlight user facing changes.

feel free to adjust or rewrite in anyway,



diff --git a/htdocs/frontends.html b/htdocs/frontends.html
index d47b56b6..2dec80c9 100644
--- a/htdocs/frontends.html
+++ b/htdocs/frontends.html
@@ -43,8 +43,8 @@  has a back end that generates assembler directly, using the GCC back end.</li>
 <li><a href="http://www.nongnu.org/gm2/">GNU Modula-2</a> implements
 the ISO/IEC 10514-1, PIM2, PIM3 and PIM4 dialects of the language.
 The compiler is operational with GCC 10, GCC 11, and GCC 12 (on
-GNU/Linux x86 systems).  The front end is now in the GCC development
-trunk (GCC 13).  It is mostly written in Modula-2 and includes a
+GNU/Linux x86 systems).  The front end was merged into the GCC tree
+during GCC 13.  It is mostly written in Modula-2 and includes a
 bootstrap tool which translates Modula-2 into C/C++.</li>
 <li>Modula-3 (for links see <a
diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html
index ff69e859..1ca9341f 100644
--- a/htdocs/gcc-14/changes.html
+++ b/htdocs/gcc-14/changes.html
@@ -386,6 +386,20 @@  a work-in-progress.</p>
 <!-- <h3 id="go">Go</h3> -->
+<h3 id="modula2">Modula-2</h3>
+  <li>The automatic dependency generation options: <code>-M</code>,
+    <code>-MD</code>, <code>-MF</code>,
+    <code>-MMD</code>, <code>-MP</code>, <code>-MQ</code> and
+    <code>-MT</code> have been implemented in the compiler.
+  </li>
+  <li>The <code>-Wcase-enum</code>
+    and <code>-Wuninit-variable-checking=</code> options have
+    been implemented to provide compile time warnings against
+    missing case clauses and uninitialized variables respectively.
+  </li>
 <!-- .................................................................. -->
 <h2 id="jit">libgccjit</h2>
diff --git a/htdocs/index.html b/htdocs/index.html
index 909cae75..125fc4ce 100644
--- a/htdocs/index.html
+++ b/htdocs/index.html
@@ -19,7 +19,7 @@ 
 <a href="c99status.html">C</a>,
 <a href="projects/cxx-status.html">C++</a>,
 Objective-C, <a href="fortran/">Fortran</a>,
-Ada, Go, and D, as well as libraries for these languages (libstdc++,...).
+Ada, Go, D and Modula-2 as well as libraries for these languages (libstdc++,...).
 GCC was originally written as the compiler for the <a
 href="http://www.gnu.org/gnu/thegnuproject.html">GNU operating system</a>.
 The GNU system was developed to be 100% free software, free in the sense
diff --git a/htdocs/readings.html b/htdocs/readings.html
index ee77d969..e78c4769 100644
--- a/htdocs/readings.html
+++ b/htdocs/readings.html
@@ -559,6 +559,18 @@  names.
+<h3>Modula 2 information</h3>
+  <li><a href="https://www.research-collection.ethz.ch/handle/20.500.11850/68683">Programming
+  in Modula-2 (Edition 2)</a></li>
+  <li><a href="https://freepages.modula2.org/report4/modula-2.html">Programming
+  in Modula-2 (Edition 4)</a></li>
+  <li><a href="http://sc22wg13.twi.tudelft.nl">ISO Modula-2 standards
+  (base language, OO and generic language extensions)</a></li>
 <h3>Modula 3 information</h3>