From: Rainer Orth Date: Tue, 24 Mar 2026 15:46:20 +0000 (+0100) Subject: testsuite: Only xfail g++.dg/coroutines/pr110872.C on 64-bit targets [PR124326] X-Git-Tag: basepoints/gcc-17~535 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=5cd3889135d77bf951e4ffe169868b453c36257d;p=thirdparty%2Fgcc.git testsuite: Only xfail g++.dg/coroutines/pr110872.C on 64-bit targets [PR124326] The g++.dg/coroutines/pr110872.C test XPASSes on many 32-bit targets: XPASS: g++.dg/coroutines/pr110872.C -std=c++26 (internal compiler error) Darwin/x86 is the exception where the test ICEs for both 32 and 64-bit. Tested on i386-pc-solaris2.11, sparc-sun-solaris2.11, x86_64-apple-darwin17.7.0, and x86_64-pc-linux-gnu. 2026-03-04 Rainer Orth gcc/testsuite: PR testsuite/124326 * g++.dg/coroutines/pr110872.C (dg-ice): Restrict to 64-bit targets or Darwin. --- diff --git a/gcc/testsuite/g++.dg/coroutines/pr110872.C b/gcc/testsuite/g++.dg/coroutines/pr110872.C index f3987222468..f911640a643 100644 --- a/gcc/testsuite/g++.dg/coroutines/pr110872.C +++ b/gcc/testsuite/g++.dg/coroutines/pr110872.C @@ -3,7 +3,7 @@ // { dg-do compile { target c++26 } } // { dg-skip-if "requires hosted libstdc++ for iostream" { ! hostedlib } } // { dg-prune-output "during RTL pass: expand" } -// { dg-ice "expand_expr_addr_expr_1" } +// { dg-ice "expand_expr_addr_expr_1" { lp64 || *-*-darwin* } } #include #include