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.
// { 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>