public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Pierre-Marie de Rodat <pmderodat@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-1471] [Ada] Remove comment about a long gone formal verification mode
Date: Tue,  5 Jul 2022 08:29:07 +0000 (GMT)	[thread overview]
Message-ID: <20220705082907.4B6A7385BAC0@sourceware.org> (raw)

https://gcc.gnu.org/g:5b560170323869f7d8406da6c985b0d21b2f7ef3

commit r13-1471-g5b560170323869f7d8406da6c985b0d21b2f7ef3
Author: Piotr Trojanek <trojanek@adacore.com>
Date:   Thu Jun 2 15:10:46 2022 +0200

    [Ada] Remove comment about a long gone formal verification mode
    
    Remove outdated a comment about the very first SPARK experiments
    in GNAT.
    
    gcc/ada/
    
            * sem_ch6.adb (Check_Missing_Return): Remove outdated comment.

Diff:
---
 gcc/ada/sem_ch6.adb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/gcc/ada/sem_ch6.adb b/gcc/ada/sem_ch6.adb
index 848c2349200..5a4ba7a9290 100644
--- a/gcc/ada/sem_ch6.adb
+++ b/gcc/ada/sem_ch6.adb
@@ -2987,9 +2987,7 @@ package body Sem_Ch6 is
 
       procedure Check_Missing_Return;
       --  Checks for a function with a no return statements, and also performs
-      --  the warning checks implemented by Check_Returns. In formal mode, also
-      --  verify that a function ends with a RETURN and that a procedure does
-      --  not contain any RETURN.
+      --  the warning checks implemented by Check_Returns.
 
       function Disambiguate_Spec return Entity_Id;
       --  When a primitive is declared between the private view and the full


                 reply	other threads:[~2022-07-05  8:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20220705082907.4B6A7385BAC0@sourceware.org \
    --to=pmderodat@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /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).