https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112362
Bug ID: 112362 Summary: [14 Regression] Various ICEs since r14-4796 on i686-linux Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- I'm seeing +FAIL: g++.dg/cpp0x/initlist13.C -std=c++20 (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.dg/cpp0x/initlist13.C -std=c++20 (test for excess errors) +FAIL: g++.dg/cpp0x/initlist13.C -std=c++2b (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.dg/cpp0x/initlist13.C -std=c++2b (test for excess errors) +FAIL: g++.dg/cpp0x/udlit-general.C -std=c++20 (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.dg/cpp0x/udlit-general.C -std=c++20 (test for excess errors) +UNRESOLVED: g++.dg/cpp0x/udlit-general.C -std=c++20 compilation failed to produce executable +FAIL: g++.dg/cpp0x/udlit-general.C -std=c++2b (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.dg/cpp0x/udlit-general.C -std=c++2b (test for excess errors) +UNRESOLVED: g++.dg/cpp0x/udlit-general.C -std=c++2b compilation failed to produce executable +FAIL: g++.dg/cpp1y/complex_literals1.C -std=c++20 (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.dg/cpp1y/complex_literals1.C -std=c++20 (test for excess errors) +FAIL: g++.dg/cpp1y/complex_literals1.C -std=c++2b (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.dg/cpp1y/complex_literals1.C -std=c++2b (test for excess errors) +FAIL: g++.dg/cpp1y/udlit-userdef-string.C -std=c++20 (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.dg/cpp1y/udlit-userdef-string.C -std=c++20 (test for excess errors) +FAIL: g++.dg/cpp1y/udlit-userdef-string.C -std=c++2b (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.dg/cpp1y/udlit-userdef-string.C -std=c++2b (test for excess errors) +FAIL: g++.dg/opt/nrv17.C -std=c++20 (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.dg/opt/nrv17.C -std=c++20 (test for excess errors) +UNRESOLVED: g++.dg/opt/nrv17.C -std=c++20 compilation failed to produce executable +FAIL: g++.dg/opt/nrv17.C -std=c++2b (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.dg/opt/nrv17.C -std=c++2b (test for excess errors) +UNRESOLVED: g++.dg/opt/nrv17.C -std=c++2b compilation failed to produce executable +FAIL: g++.dg/modules/xtreme-header-5_a.H -std=c++2a (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.dg/modules/xtreme-header-5_a.H -std=c++2a (test for excess errors) +FAIL: g++.dg/modules/xtreme-header-5_a.H -std=c++2b (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.dg/modules/xtreme-header-5_a.H -std=c++2b (test for excess errors) +FAIL: g++.dg/modules/xtreme-header-5_a.H module-cmi (gcm.cache/\$srcdir/g++.dg/modules/xtreme-header-5_a.H.gcm) +FAIL: g++.dg/modules/xtreme-header-5_a.H module-cmi (gcm.cache/\$srcdir/g++.dg/modules/xtreme-header-5_a.H.gcm) +FAIL: g++.dg/modules/xtreme-header-5_b.C -std=c++2a (test for excess errors) +FAIL: g++.dg/modules/xtreme-header-5_b.C -std=c++2b (test for excess errors) +FAIL: g++.dg/modules/xtreme-header-5_c.C -std=c++2a (test for excess errors) +FAIL: g++.dg/modules/xtreme-header-5_c.C -std=c++2b (test for excess errors) +FAIL: g++.dg/modules/xtreme-header_a.H -std=c++2a (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.dg/modules/xtreme-header_a.H -std=c++2a (test for excess errors) +FAIL: g++.dg/modules/xtreme-header_a.H -std=c++2b (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.dg/modules/xtreme-header_a.H -std=c++2b (test for excess errors) +FAIL: g++.dg/modules/xtreme-header_a.H module-cmi (gcm.cache/\$srcdir/g++.dg/modules/xtreme-header_a.H.gcm) +FAIL: g++.dg/modules/xtreme-header_a.H module-cmi (gcm.cache/\$srcdir/g++.dg/modules/xtreme-header_a.H.gcm) +FAIL: g++.dg/modules/xtreme-header_b.C -std=c++2a (test for excess errors) +FAIL: g++.dg/modules/xtreme-header_b.C -std=c++2b (test for excess errors) +FAIL: g++.dg/modules/xtreme-tr1_a.H -std=c++2a (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.dg/modules/xtreme-tr1_a.H -std=c++2a (test for excess errors) +FAIL: g++.dg/modules/xtreme-tr1_a.H -std=c++2b (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.dg/modules/xtreme-tr1_a.H -std=c++2b (test for excess errors) +FAIL: g++.dg/modules/xtreme-tr1_a.H module-cmi (gcm.cache/\$srcdir/g++.dg/modules/xtreme-tr1_a.H.gcm) +FAIL: g++.dg/modules/xtreme-tr1_a.H module-cmi (gcm.cache/\$srcdir/g++.dg/modules/xtreme-tr1_a.H.gcm) +FAIL: g++.dg/modules/xtreme-tr1_b.C -std=c++2a (test for excess errors) +FAIL: g++.dg/modules/xtreme-tr1_b.C -std=c++2b (test for excess errors) +FAIL: g++.old-deja/g++.brendan/crash20.C -std=c++20 (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.old-deja/g++.brendan/crash20.C -std=c++20 (test for excess errors) +FAIL: g++.old-deja/g++.brendan/crash20.C -std=c++2b (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.old-deja/g++.brendan/crash20.C -std=c++2b (test for excess errors) +FAIL: g++.old-deja/g++.law/ctors6.C -std=c++20 (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.old-deja/g++.law/ctors6.C -std=c++20 (test for excess errors) +FAIL: g++.old-deja/g++.law/ctors6.C -std=c++2b (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.old-deja/g++.law/ctors6.C -std=c++2b (test for excess errors) +FAIL: g++.old-deja/g++.law/operators4.C -std=c++20 (test for errors, line 18) +FAIL: g++.old-deja/g++.law/operators4.C -std=c++20 (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.old-deja/g++.law/operators4.C -std=c++20 (test for excess errors) +FAIL: g++.old-deja/g++.law/operators4.C -std=c++2b (test for errors, line 18) +FAIL: g++.old-deja/g++.law/operators4.C -std=c++2b (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.old-deja/g++.law/operators4.C -std=c++2b (test for excess errors) +FAIL: g++.old-deja/g++.other/headers1.C -std=c++20 (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.old-deja/g++.other/headers1.C -std=c++20 (test for excess errors) +UNRESOLVED: g++.old-deja/g++.other/headers1.C -std=c++20 compilation failed to produce executable +FAIL: g++.old-deja/g++.other/headers1.C -std=c++2b (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.old-deja/g++.other/headers1.C -std=c++2b (test for excess errors) +UNRESOLVED: g++.old-deja/g++.other/headers1.C -std=c++2b compilation failed to produce executable +FAIL: g++.old-deja/g++.robertl/eb3.C -std=c++20 (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.old-deja/g++.robertl/eb3.C -std=c++20 (test for excess errors) +FAIL: g++.old-deja/g++.robertl/eb3.C -std=c++2b (internal compiler error: in tsubst_expr, at cp/pt.cc:21534) +FAIL: g++.old-deja/g++.robertl/eb3.C -std=c++2b (test for excess errors) +FAIL: 24_iterators/reverse_iterator/100639.cc -std=c++20 (test for excess errors) +FAIL: 24_iterators/reverse_iterator/100639.cc -std=c++26 (test for excess errors) +FAIL: std/ranges/iota/93267.cc -std=c++20 (test for excess errors) +FAIL: std/ranges/iota/93267.cc -std=c++26 (test for excess errors) +FAIL: std/ranges/iota/96042.cc -std=c++20 (test for excess errors) +FAIL: std/ranges/iota/96042.cc -std=c++26 (test for excess errors) +FAIL: std/ranges/iota/size.cc -std=c++20 (test for excess errors) +FAIL: std/ranges/iota/size.cc -std=c++26 (test for excess errors) +FAIL: std/ranges/subrange/96042.cc -std=c++20 (test for excess errors) +FAIL: std/ranges/subrange/96042.cc -std=c++26 (test for excess errors) since r14-4796-g3e3d73ed5e85e7f467c366e9ad219d558ef9cb79 on i686-linux. I think everything is caused by tsubst not handling COMPLEX_EXPR.