PR91984 modified typebound_call_22.f03 as it was expected to fail. PR92113 negated the need for the xfail but unfortunately the test case was not modified.

The attached patch removes the xfail.

gcc/testsuite/ChangeLog

    Mark Eggleston <markeggles...@gcc.gnu.org>

    * typebound_call_22.d03 : Remove xfail clause.

Patch has been committed as obvious on gcc 8 and gcc 9 branches:

https://gcc.gnu.org/g:581e2c5b4aef54ee5c2f9
https://gcc.gnu.org/g:00244172f8e734dfb154a


On 17/02/2020 13:13, Manfred Schwarb wrote:
Dear all,

GCC 8.4 is due soon, and there is still this regression in the test-suite.
It would be sad if this test failure got into a released GCC tarball.

Manfred



Am 27.01.20 um 11:17 schrieb Manfred Schwarb:
Hi Thomas,

since about 2 months typebound_call_22.f03 is failing on the GCC-8 and GCC-9 
branches:

   XPASS: gfortran.dg/typebound_call_22.f03   -O   scan-tree-dump-times optimized 
"base \\(\\);" 1

This is related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91984#c2, most 
probably.


Could you look into this?
Thanks, Manfred


--
https://www.codethink.co.uk/privacy.html

>From 9d3731d65b20189a878a46fa7e6360d026d742c2 Mon Sep 17 00:00:00 2001
From: Mark Eggleston <markeggles...@gcc.gnu.org>
Date: Wed, 19 Feb 2020 15:17:30 +0000
Subject: [PATCH] [fortran] xfail no longer necessary in typebound_call_22.f03

PR91984 changes resulted in an expected failure. Backport of PR92113
negated the need for the xfail.

gcc/testsuite/ChangeLog

	* typebound_call_22.d03 : Remove xfail clause.
---
 gcc/testsuite/gfortran.dg/typebound_call_22.f03 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gfortran.dg/typebound_call_22.f03 b/gcc/testsuite/gfortran.dg/typebound_call_22.f03
index 30f86937fe2..b9f0b712573 100644
--- a/gcc/testsuite/gfortran.dg/typebound_call_22.f03
+++ b/gcc/testsuite/gfortran.dg/typebound_call_22.f03
@@ -26,4 +26,4 @@ program test
   call x%bar ()
 end program
 
-! { dg-final { scan-tree-dump-times "base \\(\\);" 1 "optimized" { xfail *-*-* } } }
+! { dg-final { scan-tree-dump-times "base \\(\\);" 1 "optimized" } }
-- 
2.11.0

Reply via email to