https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78032 --- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> --- I will have a closer look but I think this is an almost exact dup of c++/77563