https://gcc.gnu.org/g:6fee826bc1bbd4016d5b79e16e642d68c4007b09

commit r15-3879-g6fee826bc1bbd4016d5b79e16e642d68c4007b09
Author: Sam James <s...@gentoo.org>
Date:   Wed Sep 25 21:03:49 2024 +0100

    testsuite: XFAIL g++.dg/modules/indirect-1_b.C
    
    Mark the newly typo-fixed dg-final bits as XFAIL until investigated.
    
    gcc/testsuite/ChangeLog:
            PR c++/116846
    
            * g++.dg/modules/indirect-1_b.C: Add XFAIL.

Diff:
---
 gcc/testsuite/g++.dg/modules/indirect-1_b.C | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gcc/testsuite/g++.dg/modules/indirect-1_b.C 
b/gcc/testsuite/g++.dg/modules/indirect-1_b.C
index 7621e05c86b9..dee8a00ef15e 100644
--- a/gcc/testsuite/g++.dg/modules/indirect-1_b.C
+++ b/gcc/testsuite/g++.dg/modules/indirect-1_b.C
@@ -48,7 +48,8 @@ namespace bar
 // { dg-final { scan-lang-dump {Lazily binding '::foo::Scoped'@'foo' section:} 
module } }
 // { dg-final { scan-lang-dump-not {Lazily binding 
'::foo::Scoped@foo:.::[ABCD]'@'foo' section:} module } }
 
-// { dg-final { scan-lang-dump {Wrote named import:-[0-9]* 
const_decl:'::foo::Plain@\(foo\)::C'@foo} module } }
-// { dg-final { scan-lang-dump {Wrote named import:-[0-9]* 
const_decl:'::foo::Plain@\(foo\)::B'@foo} module } }
-// { dg-final { scan-lang-dump {Wrote named import:-[0-9]* 
const_decl:'::foo::Scoped@\(foo\)::C'@foo} module } }
-// { dg-final { scan-lang-dump {Wrote named import:-[0-9]* 
const_decl:'::foo::Scoped@\(foo\)::B'@foo} module } }
+// XFAIL is for PR116846
+// { dg-final { scan-lang-dump {Wrote named import:-[0-9]* 
const_decl:'::foo::Plain@\(foo\)::C'@foo} module { xfail *-*-* } } }
+// { dg-final { scan-lang-dump {Wrote named import:-[0-9]* 
const_decl:'::foo::Plain@\(foo\)::B'@foo} module { xfail *-*-* } } }
+// { dg-final { scan-lang-dump {Wrote named import:-[0-9]* 
const_decl:'::foo::Scoped@\(foo\)::C'@foo} module { xfail *-*-* } } }
+// { dg-final { scan-lang-dump {Wrote named import:-[0-9]* 
const_decl:'::foo::Scoped@\(foo\)::B'@foo} module { xfail *-*-* } } }

Reply via email to