From: "Marc Poulhiès" <poulhies@adacore.com>
To: gcc-patches@gcc.gnu.org
Cc: "Marc Poulhiès" <poulhies@adacore.com>,
"Fernando Oleo Blanco" <irvise_ml@irvise.xyz>,
"Piotr Trojanek" <trojanek@adacore.com>
Subject: [COMMITTED] gcc-14: Add Ada changes
Date: Fri, 26 Apr 2024 10:55:35 +0200 [thread overview]
Message-ID: <20240426085539.927586-1-poulhies@adacore.com> (raw)
Co-authored-by: Fernando Oleo Blanco <irvise_ml@irvise.xyz>
Co-authored-by: Piotr Trojanek <trojanek@adacore.com>
Signed-off-by: Marc Poulhiès <poulhies@adacore.com>
---
htdocs/gcc-14/changes.html | 67 +++++++++++++++++++++++++++++++++++++-
1 file changed, 66 insertions(+), 1 deletion(-)
diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html
index 83b1016c..87e04cb8 100644
--- a/htdocs/gcc-14/changes.html
+++ b/htdocs/gcc-14/changes.html
@@ -239,7 +239,72 @@ a work-in-progress.</p>
</li>
</ul>
-<!-- <h3 id="ada">Ada</h3> -->
+<h3 id="ada">Ada</h3>
+
+<ul>
+ <li>New implementation-defined aspects and pragmas:
+ <ul>
+ <li><a href="https://gcc.gnu.org/onlinedocs/gnat_rm/Aspect-Local_005fRestrictions.html"><code>Local_Restrictions</code></a>,
+ which specifies that a particular subprogram does not violate one or more
+ local restrictions, nor can it call a subprogram that is not subject to
+ the same requirements.</li>
+ <li><a href="https://gcc.gnu.org/onlinedocs/gnat_rm/Pragma-User_005fAspect_005fDefinition.html"><code>User_Aspect_Definition</code></a>
+ and <a href="https://gcc.gnu.org/onlinedocs/gnat_rm/Aspect-User_005fAspect.html"><code>User_Aspect</code></a>,
+ which provide a mechanism for avoiding textual duplication if some set of
+ aspect specifications is needed in multiple places.</li>
+ </ul>
+ </li>
+ <li>New implementation-defined aspects and pragmas for verification of the
+ SPARK 2014 subset of Ada:
+ <ul>
+ <li><a href="https://gcc.gnu.org/onlinedocs/gnat_rm/Aspect-Always_005fTerminates.html"><code>Always_Terminates</code></a>,
+ which provides a condition for a subprogram to necessarily complete
+ (either return normally or raise an exception).</li>
+ <li><a href="https://gcc.gnu.org/onlinedocs/gnat_rm/Aspect-Ghost_005fPredicate.html"><code>Ghost_Predicate</code></a>,
+ which introduces a subtype predicate that can reference Ghost entities.
+ </li>
+ <li><a href="https://gcc.gnu.org/onlinedocs/gnat_rm/Aspect-Exceptional_005fCases.html"><code>Exceptional_Cases</code></a>,
+ which lists exceptions that might be propagated by the subprogram with
+ side effects in the context of its precondition and associates them with a
+ specific postcondition.
+ </li>
+ <li><a href="https://gcc.gnu.org/onlinedocs/gnat_rm/Aspect-Side_005fEffects.html"><code>Side_Effects</code></a>,
+ which indicates that a function should be handled like a procedure with
+ respect to parameter modes, Global contract, exceptional contract and
+ termination: it may have output parameters, write global variables, raise
+ exceptions and not terminate.</li>
+ </ul>
+ </li>
+ <li>The new attributes and contracts have been applied to the relevant parts
+ of the Ada runtime library, which has been subsequently proven to be correct
+ with SPARK 2014.</li>
+ <li>Initial support for the
+ <a href="https://www.cl.cam.ac.uk/research/security/ctsrd/cheri/"><code>CHERI</code></a>
+ architecture.</li>
+ <li>Support for the <code>LoongArch</code> architecture.</li>
+ <li>Support for vxWorks 7 Cert RTP has been removed.</li>
+ <li>Additional hardening improvements. For more information reltated to
+ hardening options, refer to
+ the <a href="https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html#index-fharden-compares">GCC
+ Instrumentation Options</a> and
+ the <a href="https://gcc.gnu.org/onlinedocs/gnat_rm/Security-Hardening-Features.html">GNAT
+ Reference Manual, Security and Hardening Features</a>.
+ </li>
+ <li>Improve style checking for redundant parentheses
+ with <a href="https://gcc.gnu.org/onlinedocs/gnat_ugn/Style-Checking.html#index--gnatyz-_0028gcc_0029"><code>-gnatyz</code></a></li>
+ <li>New
+ switch <a href="https://gcc.gnu.org/onlinedocs/gnat_ugn/Alphabetical-List-of-All-Switches.html#index--gnateH-_0028gcc_0029"><code>-gnateH</code></a>
+ to force reverse Bit_Order threshold to 64.</li>
+ <li>Experimental features:
+ <ul><a href="https://gcc.gnu.org/onlinedocs/gnat_rm/Pragma-Storage_005fModel.html">Storage
+ Model</a>: this feature proposes to redesign the concepts of Storage Pools
+ into a more efficient model allowing higher performances and easier
+ integration with low footprint embedded run-times.</ul>
+ <ul><a href="https://gcc.gnu.org/onlinedocs/gnat_rm/String-interpolation.html">String
+ Interpolation</a>: allows for easier string formatting.</ul>
+ </li>
+ <li>Further clean up and improvements to the GNAT code.</li>
+</ul>
<!-- <h3 id="c-family">C family</h3> -->
--
2.43.2
next reply other threads:[~2024-04-26 8:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-26 8:55 Marc Poulhiès [this message]
2024-04-26 13:17 ` Marek Polacek
2024-04-26 13:25 ` Marc Poulhiès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240426085539.927586-1-poulhies@adacore.com \
--to=poulhies@adacore.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=irvise_ml@irvise.xyz \
--cc=trojanek@adacore.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).