https://gcc.gnu.org/g:9816d040f66e1aab284620a825ba7f235efddde0

commit r17-6279-g9816d040f66e1aab284620a825ba7f235efddde0
Author: John David Anglin <[email protected]>
Date:   Sat Nov 14 17:20:55 2026 -0500

    testsuite: xfail consteval-prop6.C line 58 warning on hppa*-*-hpux* 
[PR113381]
    
    On hppa64-hp-hpux11.11, the expected warning on line 57 (checked at line
    58) is not emitted during consteval promotion of X::X().  XFAIL this check
    on hppa*-*-hpux*.
    
    2026-11-14  John David Anglin  <[email protected]>
    
    gcc/testsuite/ChangeLog:
    
            PR c++/113381
            * g++.dg/cpp2a/consteval-prop6.C: XFAIL warning check on
            line 58 for hppa*-*-hpux*.

Diff:
---
 gcc/testsuite/g++.dg/cpp2a/consteval-prop6.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/g++.dg/cpp2a/consteval-prop6.C 
b/gcc/testsuite/g++.dg/cpp2a/consteval-prop6.C
index ca7db7c63d37..bec01471f24b 100644
--- a/gcc/testsuite/g++.dg/cpp2a/consteval-prop6.C
+++ b/gcc/testsuite/g++.dg/cpp2a/consteval-prop6.C
@@ -55,5 +55,5 @@ void
 test ()
 {
   [[maybe_unused]] X x; // { dg-error "call to consteval function" }
-// { dg-message "promoted to an immediate function" "" { target *-*-* } .-1 }
+// { dg-message "promoted to an immediate function" "" { xfail hppa*-*-hpux* } 
.-1 }
 }

Reply via email to