[Bug c++/108321] [13 regression] g++.dg/contracts/contracts-tmpl-spec2.C fails after r13-4160-g2efb237ffc68ec
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108321 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment #6 from Andrew Pinski --- I am almost positive this is due to plain char being unsigned by default on both powerpc and aarch64. Maybe the testcase should cheat and just use -fsigned-char
[Bug c++/108321] [13 regression] g++.dg/contracts/contracts-tmpl-spec2.C fails after r13-4160-g2efb237ffc68ec
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108321 --- Comment #5 from Edwin Lu --- (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::f at > g++.dg/contracts/contracts-tmpl-spec2.C:147: t > 2 > [continue:on] > contract violation in function G3::f at > g++.dg/contracts/contracts-tmpl-spec2.C:148: s > 2 > [continue:on] > G3 full int double contract violation in function G3::f at .*:124: t > 0 [continue:on] contract violation in function G3::f at .*:125: s > 0 [continue:on] > G3 general T S > contract violation in function G3::f at > g++.dg/contracts/contracts-tmpl-spec2.C:139: t > 1 > [continue:on] contract violation in function G3::f at .*:140: s > 1 [continue:on] > G3 partial int S > G3 full int C > G3 full int C > contract violation in function G4::G4 at > g++.dg/contracts/contracts-tmpl-spec2.C:173: t > 0
[Bug c++/108321] [13 regression] g++.dg/contracts/contracts-tmpl-spec2.C fails after r13-4160-g2efb237ffc68ec
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108321 --- Comment #4 from seurer at gcc dot gnu.org --- *** Bug 107915 has been marked as a duplicate of this bug. ***
[Bug c++/108321] [13 regression] g++.dg/contracts/contracts-tmpl-spec2.C fails after r13-4160-g2efb237ffc68ec
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108321 seurer at gcc dot gnu.org changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED|REOPENED Last reconfirmed||2023-05-18 Ever confirmed|0 |1 --- Comment #3 from seurer at gcc dot gnu.org --- The problem with g++.dg/contracts/contracts-tmpl-spec2.C has never been fixed as far as I can tell. It definitely occurs with the current r13. I believe the "This is fixed after r13-4290-g138ee8f7453ffd" was referring to the other mentioned issue. g:f48c546902802cf640c4f2802543acfdc702404f, r13-7354-gf48c546902802c make -k check-gcc RUNTESTFLAGS="dg.exp=g++.dg/contracts/contracts-tmpl-spec2.C" FAIL: g++.dg/contracts/contracts-tmpl-spec2.C output pattern test # of expected passes2 # of unexpected failures1 FAIL: g++.dg/contracts/contracts-tmpl-spec2.C output pattern test Output was: contract violation in function body at g++.dg/contracts/contracts-tmpl-spec2.C:9: a > 0 [continue:on] -2 contract violation in function body at g++.dg/contracts/contracts-tmpl-spec2.C:17: a > 1 [continue:on] -3 contract violation in function none at g++.dg/contracts/contracts-tmpl-spec2.C:25: a > 0 [continue:on] 1 contract violation in function none at g++.dg/contracts/contracts-tmpl-spec2.C:32: a > 1 [continue:on] -101 contract violation in function arg0 at g++.dg/contracts/contracts-tmpl-spec2.C:39: t > 0 [continue:on] -9 contract violation in function arg0 at g++.dg/contracts/contracts-tmpl-spec2.C:46: t > 1 [continue:on] 11 contract violation in function arg1 at g++.dg/contracts/contracts-tmpl-spec2.C:53: a > 0 [continue:on] contract violation in function arg1 at g++.dg/contracts/contracts-tmpl-spec2.C:54: t > 0 [continue:on] -3 contract violation in function arg1 at g++.dg/contracts/contracts-tmpl-spec2.C:61: a > 1 [continue:on] contract violation in function arg1 at g++.dg/contracts/contracts-tmpl-spec2.C:62: t > 1 [continue:on] 14 contract violation in function ret at g++.dg/contracts/contracts-tmpl-spec2.C:69: a > 0 [continue:on] 1 contract violation in function ret at g++.dg/contracts/contracts-tmpl-spec2.C:76: a > 1 [continue:on] 3 contract violation in function ret at g++.dg/contracts/contracts-tmpl-spec2.C:76: a > 1 [continue:on] 3.30 contract violation in function g1 at g++.dg/contracts/contracts-tmpl-spec2.C:83: t > 0 [continue:on] -1 -1 contract violation in function g2 at g++.dg/contracts/contracts-tmpl-spec2.C:97: t > 0 [continue:on] -1 contract violation in function g2 at g++.dg/contracts/contracts-tmpl-spec2.C:107: t < 0 [continue:on] 1 contract violation in function g2 at g++.dg/contracts/contracts-tmpl-spec2.C:114: t < 'c' [continue:on] 100 contract violation in function G3::f at g++.dg/contracts/contracts-tmpl-spec2.C:124: t > 0 [continue:on] contract violation in function G3::f at g++.dg/contracts/contracts-tmpl-spec2.C:125: s > 0 [continue:on] G3 general T S contract violation in function G3::f at g++.dg/contracts/contracts-tmpl-spec2.C:139: t > 1 [continue:on] contract violation in function G3::f at g++.dg/contracts/contracts-tmpl-spec2.C:140: s > 1 [continue:on] G3 partial int S contract violation in function G3::f at g++.dg/contracts/contracts-tmpl-spec2.C:147: t > 2 [continue:on] contract violation in function G3::f at g++.dg/contracts/contracts-tmpl-spec2.C:148: s > 2 [continue:on] G3 full int double G3 general T S contract violation in function G3::f at g++.dg/contracts/contracts-tmpl-spec2.C:139: t > 1 [continue:on] G3 partial int S G3 full int C G3 full int C contract violation in function G4::G4 at g++.dg/contracts/contracts-tmpl-spec2.C:173: t > 0 [continue:on] contract violation in function G4::G4 at g++.dg/contracts/contracts-tmpl-spec2.C:174: s > 0 [continue:on] G4 general T S contract violation in function G4::G4 at g++.dg/contracts/contracts-tmpl-spec2.C:175: x > 0 [continue:on] G4 full double double contract violation in function G4::G4 at g++.dg/contracts/contracts-tmpl-spec2.C:206: a > 0 [continue:on] contract violation in function G4::G4 at g++.dg/contracts/contracts-tmpl-spec2.C:207: b > 'b' [continue:on] G4 full double char contract violation in function G4::G4 at g++.dg/contracts/contracts-tmpl-spec2.C:208: x > 1 [continue:on] contract violation in function G4::G4 at g++.dg/contracts/contracts-tmpl-spec2.C:187: t > 'c' [continue:on] contract violation in function G4::G4 at g++.dg/contracts/contracts-tmpl-spec2.C:188: s > 3 [continue:on] G4 partial char S contract violation in function G4::G4 at g++.dg/contracts/contracts-tmpl-spec2.C:189: x2 > 3 [continue:on] contract violation in function G5::f at g++.dg/contracts/contracts-tmpl-spec2.C:220: t > 0 [continue:on] contract violation in function G5::f at g++.dg/contracts/contracts-tmpl-spec2.C:221: s > 0 [continue:on]
[Bug c++/108321] [13 regression] g++.dg/contracts/contracts-tmpl-spec2.C fails after r13-4160-g2efb237ffc68ec
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108321 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Richard Biener --- so fixed
[Bug c++/108321] [13 regression] g++.dg/contracts/contracts-tmpl-spec2.C fails after r13-4160-g2efb237ffc68ec
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108321 Richard Biener changed: What|Removed |Added Keywords||testsuite-fail Target Milestone|--- |13.0
[Bug c++/108321] [13 regression] g++.dg/contracts/contracts-tmpl-spec2.C fails after r13-4160-g2efb237ffc68ec
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108321 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #1 from Martin Liška --- > FAIL: compiler driver --help=c++ option(s): "^ +-.*[^:.]$" absent from > output: " -fcontract-build-level=[off|default|audit] Specify max contract > level to generate runtime checks for" This is fixed after r13-4290-g138ee8f7453ffd.