[gcc(refs/users/aoliva/heads/testme)] Adjust gnat.dg testsuite after fix for V509-015.

Alexandre Oliva aoliva@gcc.gnu.org
Thu Jun 8 09:18:17 GMT 2023


https://gcc.gnu.org/g:f98ade3c026f7df36186a85f455d22fe69631d38

commit f98ade3c026f7df36186a85f455d22fe69631d38
Author: Eric Botcazou <ebotcazou@adacore.com>
Date:   Tue Aug 9 10:44:19 2022 -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.


More information about the Gcc-cvs mailing list