On Wed, Oct 28, 2026 at 12:45 PM Stefan Schulze Frielinghaus <[email protected]> wrote: > > From: Stefan Schulze Frielinghaus <[email protected]>
Can you check whether any libstdc++.so provided symbol is affected and add a note indicating the result? Btw, what can one do with a nullptr_t result? So what would be a testcase with two TUs that would fail when both are compiled with incompatible compilers? > --- > htdocs/gcc-17/changes.html | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/htdocs/gcc-17/changes.html b/htdocs/gcc-17/changes.html > index 68717be56..ccbfa4957 100644 > --- a/htdocs/gcc-17/changes.html > +++ b/htdocs/gcc-17/changes.html > @@ -250,6 +250,18 @@ for general information.</p> > <li>Support for <code>-m31</code> was removed and as a consequence > <code>-mesa</code> support. > </li> > + > + <li id="s390_return_nullptr_type"> > + Starting with GCC 4.6 (which introduced initial C++11 and > + <code>std::nullptr_t</code> support), arguments of type > + <code>nullptr_t</code> / <code>std::nullptr_t</code> / > + <code>decltype(nullptr)</code> are passed in registers. However, return > + values are erroneously returned in memory violating the psABI. This is > + fixed in GCC 17 so that <code>nullptr_t</code> et al. are returned in a > + register (<code>%r2</code>), matching argument passing and the psABI. > + Functions returning <code>nullptr_t</code> compiled with GCC 17 are > + ABI-incompatible with binaries compiled by older GCC versions. > + </li> > </ul> > > <!-- <h3 id="riscv">RISC-V</h3> --> > -- > 2.55.0 >
