]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Only xfail g++.dg/coroutines/pr110872.C on 64-bit targets [PR124326]
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Tue, 24 Mar 2026 15:46:20 +0000 (16:46 +0100)
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Tue, 24 Mar 2026 15:46:20 +0000 (16:46 +0100)
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  <ro@CeBiTec.Uni-Bielefeld.DE>

gcc/testsuite:
PR testsuite/124326
* g++.dg/coroutines/pr110872.C (dg-ice): Restrict to 64-bit
targets or Darwin.

gcc/testsuite/g++.dg/coroutines/pr110872.C

index f3987222468541e9b28beb0da8a640ef3865fa1e..f911640a64391b7e2ea4f9c1a9d9d8c02271b278 100644 (file)
@@ -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 <iostream>
 #include <coroutine>