https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109425
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppalka at gcc dot gnu.org --- Comment #4 from Patrick Palka <ppalka at gcc dot gnu.org> --- (In reply to Hannes Hauswedell from comment #2) > Thanks for the quick reply, and nice that it is already fixed for 13! > > I assume this will not be backported? It wouldn't be a huge problem, because > it is possible to workaround with non-friend operators. It's already been backported to the 12 branch, so the upcoming GCC 12.3 (or a recent enough snapshot of the release branch) will also include the fix. No decision yet about backporting to the 11/10 branches. Having to work around this by defining these functions as non-friends is pretty inconvenient..