public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Alexandre Oliva <aoliva@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/users/aoliva/heads/testme)] Adjust gnat.dg testsuite after fix for V509-015.
Date: Fri,  9 Jun 2023 06:17:53 +0000 (GMT)	[thread overview]
Message-ID: <20230609061753.8D1B33857C44@sourceware.org> (raw)

https://gcc.gnu.org/g:6544d61b57bb86b00e50141a7aef2916b18fdd52

commit 6544d61b57bb86b00e50141a7aef2916b18fdd52
Author: Eric Botcazou <ebotcazou@adacore.com>
Date:   Thu Jun 8 01:35:54 2023 -0300

    Adjust gnat.dg testsuite after fix for V509-015.

Diff:
---
 gcc/testsuite/gnat.dg/strub_intf.adb  | 2 +-
 gcc/testsuite/gnat.dg/strub_intf1.adb | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/testsuite/gnat.dg/strub_intf.adb b/gcc/testsuite/gnat.dg/strub_intf.adb
index 728b85572b7..8f0212a7586 100644
--- a/gcc/testsuite/gnat.dg/strub_intf.adb
+++ b/gcc/testsuite/gnat.dg/strub_intf.adb
@@ -59,7 +59,7 @@ procedure Strub_Intf is
       overriding
       procedure P (I : Integer; X : B) is
       begin
-	 P (I, A (X));
+	 null;
       end;
       
       overriding
diff --git a/gcc/testsuite/gnat.dg/strub_intf1.adb b/gcc/testsuite/gnat.dg/strub_intf1.adb
index aa68fcd2c0b..bf77321cef7 100644
--- a/gcc/testsuite/gnat.dg/strub_intf1.adb
+++ b/gcc/testsuite/gnat.dg/strub_intf1.adb
@@ -42,7 +42,7 @@ procedure Strub_Intf1 is
       overriding
       procedure P (I : Integer; X : B) is
       begin
-	 P (I, A (X));
+	 null;
       end;
       
       overriding
@@ -79,7 +79,7 @@ end Strub_Intf1;
 
 --  Count the strub-at-calls non-dispatching calls 
 --  (+ 2 each, for the matching prototypes)
---  { dg-final { scan-ipa-dump-times "foo\.p \[(\]\[^\n\]*watermark" 3 "strub" } }
+--  { dg-final { scan-ipa-dump-times "foo\.p \[(\]\[^\n\]*watermark" 2 "strub" } }
 --  { dg-final { scan-ipa-dump-times "foo\.f \[(\]\[^\n\]*watermark" 4 "strub" } }
 
 --  Count the strub-at-calls dispatching calls.

             reply	other threads:[~2023-06-09  6:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-09  6:17 Alexandre Oliva [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-09  8:07 Alexandre Oliva
2023-06-09  6:26 Alexandre Oliva
2023-06-08 10:59 Alexandre Oliva
2023-06-08 10:43 Alexandre Oliva
2023-06-08  9:18 Alexandre Oliva
2023-06-08  4:48 Alexandre Oliva

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=20230609061753.8D1B33857C44@sourceware.org \
    --to=aoliva@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).