[gcc r14-7144] testsuite: remove xfail

Jason Merrill jason@gcc.gnu.org
Thu Jan 11 15:52:12 GMT 2024


https://gcc.gnu.org/g:887e3a1c5d3b4734f8a3ea3049d8db668ada8eaf

commit r14-7144-g887e3a1c5d3b4734f8a3ea3049d8db668ada8eaf
Author: Jason Merrill <jason@redhat.com>
Date:   Wed Jan 10 17:09:01 2024 -0500

    testsuite: remove xfail
    
    These two lines have been getting XPASS since the test was added.
    
    gcc/testsuite/ChangeLog:
    
            * g++.dg/cpp23/explicit-obj-diagnostics7.C: Remove xfail.

Diff:
---
 gcc/testsuite/g++.dg/cpp23/explicit-obj-diagnostics7.C | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/g++.dg/cpp23/explicit-obj-diagnostics7.C b/gcc/testsuite/g++.dg/cpp23/explicit-obj-diagnostics7.C
index 023cdc2e0fe..d30ba5c961a 100644
--- a/gcc/testsuite/g++.dg/cpp23/explicit-obj-diagnostics7.C
+++ b/gcc/testsuite/g++.dg/cpp23/explicit-obj-diagnostics7.C
@@ -43,11 +43,11 @@ struct S : B {
 
 // these should be suppressed, the wording conflicts with the error
 // the issue is not that they don't override, it's that they do override, and that isn't allowed
-// { dg-bogus "marked 'override', but does not override" "" { xfail *-*-* } line_f1 }
+// { dg-bogus "marked 'override', but does not override" "" { target *-*-* } line_f1 }
 // { dg-bogus "marked 'final', but is not virtual"	 "" { xfail *-*-* } line_f2 }
 // { dg-bogus "marked '(override|final)'"		 "" { xfail *-*-* } line_f3 }
 
-// { dg-bogus "marked 'override', but does not override" "" { xfail *-*-* } line_f5 }
+// { dg-bogus "marked 'override', but does not override" "" { target *-*-* } line_f5 }
 // { dg-bogus "marked 'final', but is not virtual"	 "" { xfail *-*-* } line_f6 }
 // { dg-bogus "marked '(override|final)'"		 "" { xfail *-*-* } line_f7 }


More information about the Gcc-cvs mailing list