https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115746
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #58759|0 |1 is obsolete| | --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 58763 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58763&action=edit gcc15-pr115746-wip.patch Updated patch which handles satisfy_atom by modifying (a copy of) args instead of the old way, plus removes the pack tree from in between FOLD_CONSTR and the actual constraint. Sadly, this fixed only diagnostic3.C, but not the rest: FAIL: g++.dg/cpp26/fold-constr3.C -std=c++26 (internal compiler error: in dependent_type_p, at cp/pt.cc:28060) FAIL: g++.dg/cpp26/fold-constr3.C -std=c++26 (test for errors, line 10) FAIL: g++.dg/cpp26/fold-constr3.C -std=c++26 (test for errors, line 14) FAIL: g++.dg/cpp26/fold-constr3.C -std=c++26 (test for excess errors) FAIL: g++.dg/cpp26/fold-constr5.C -std=c++26 (test for errors, line 13) FAIL: g++.dg/cpp26/fold-constr5.C -std=c++26 (test for errors, line 19) FAIL: g++.dg/cpp26/fold-constr5.C -std=c++26 (test for errors, line 20) FAIL: g++.dg/cpp26/fold-constr5.C -std=c++26 (test for errors, line 21) FAIL: g++.dg/cpp26/fold-constr5.C -std=c++26 (test for errors, line 23) FAIL: g++.dg/cpp26/fold-constr5.C -std=c++26 (test for errors, line 28) FAIL: g++.dg/cpp26/fold-constr5.C -std=c++26 (test for errors, line 29) FAIL: g++.dg/cpp26/fold-constr5.C -std=c++26 (test for errors, line 30) FAIL: g++.dg/cpp26/fold-constr5.C -std=c++26 (test for errors, line 32) FAIL: g++.dg/cpp26/fold-constr5.C -std=c++26 (test for errors, line 37) FAIL: g++.dg/cpp26/fold-constr5.C -std=c++26 (test for errors, line 38) FAIL: g++.dg/cpp26/fold-constr5.C -std=c++26 (test for errors, line 39) FAIL: g++.dg/cpp26/fold-constr5.C -std=c++26 (test for errors, line 41) FAIL: g++.dg/cpp26/fold-constr5.C -std=c++26 (test for errors, line 47) FAIL: g++.dg/cpp26/fold-constr5.C -std=c++26 (test for errors, line 51) FAIL: g++.dg/cpp26/fold-constr5.C -std=c++26 (test for errors, line 56) FAIL: g++.dg/cpp26/fold-constr5.C -std=c++26 (test for errors, line 60) FAIL: g++.dg/cpp26/fold-constr5.C -std=c++26 (test for errors, line 65) FAIL: g++.dg/cpp26/fold-constr6.C -std=c++26 (test for errors, line 20)