https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116080
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ro at gcc dot gnu.org
--- Comment #10 from Rainer Orth <ro at gcc dot gnu.org> ---
Between 20240729 (696d8b9bf3f0ea60da0c24361dc5fe559f97ab77) and 20240730
(11c2453a16b725b7fb67778e1ab4636a51a1217d), I saw
the following failures on 32-bit Solaris/x86 (i386-pc-solaris2.11) and
Solaris/SPARC (sparc-sun-solaris2.11):
+FAIL: c-c++-common/musttail12.c -std=c++11 (test for excess errors)
+FAIL: c-c++-common/musttail12.c -std=c++17 (test for excess errors)
+FAIL: c-c++-common/musttail12.c -std=c++26 (test for excess errors)
Excess errors:
/vol/gcc/src/hg/master/local/gcc/testsuite/c-c++-common/musttail12.c:13:38:
error: cannot tail-call: return value used after call
+FAIL: g++.dg/musttail6.C (test for excess errors)
Excess errors:
/vol/gcc/src/hg/master/local/gcc/testsuite/g++.dg/musttail6.C:22:35: error:
cannot tail-call: return value used after call
I've tried your latest patch and now the failures are gone:
* On SPARC, both musttail12.c and musttail6.C are UNSUPPORTED for 32 and
64-bit now, while
* on x86, both are UNSUPPORTED for 32-bit, but PASS for 64-bit.
However, the test had PASSed before on 64-bit SPARC.