https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108321
--- Comment #5 from Edwin Lu <ewlu at rivosinc dot com> --- (In reply to seurer from comment #3) This also appears in GCC 14 for riscv64 targets with the same output pattern above. After a quick comparison with the expected output, this output is missing > contract violation in function G3<int, double>::f at > g++.dg/contracts/contracts-tmpl-spec2.C:147: t > 2 > [continue:on] > contract violation in function G3<int, double>::f at > g++.dg/contracts/contracts-tmpl-spec2.C:148: s > 2 > [continue:on] > G3 full int double contract violation in function G3<char, char>::f at .*:124: t > 0 [continue:on] contract violation in function G3<char, char>::f at .*:125: s > 0 [continue:on] > G3 general T S > contract violation in function G3<int, char>::f at > g++.dg/contracts/contracts-tmpl-spec2.C:139: t > 1 > [continue:on] contract violation in function G3<int, char>::f at .*:140: s > 1 [continue:on] > G3 partial int S > G3 full int C > G3 full int C > contract violation in function G4<int, int>::G4 at > g++.dg/contracts/contracts-tmpl-spec2.C:173: t > 0