https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96862
--- Comment #4 from Laurent Rineau <Laurent.Rineau__gcc at normalesup dot org> --- At the compiler level, I do not think the bug is related to `-std=c++2a`. That flags was there only to trigger the bug from the recent versions of libstdc++ since: commit e6c76f0d3327bf00c96f5a63961c1d5ab77512db Author: Patrick Palka <ppa...@redhat.com> Date: Wed Aug 19 09:12:55 2020 -0400