https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111504
--- Comment #3 from Xiang Gao ---
Cross posted at: https://github.com/llvm/llvm-project/issues/67056
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111504
--- Comment #2 from Xiang Gao ---
(In reply to Andrew Pinski from comment #1)
> Fails for the same reason with clang (both with libstdc++ and libc++)
>
> Are you sure this is valid C++ 20 code?
I am not 100% sure, but my understanding is,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111504
Bug ID: 111504
Summary: compare operator not defined for recursive data types
on C++20
Product: gcc
Version: 13.2.1
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111316
Bug ID: 111316
Summary: std::vector's operator < does not work with recursive
data type
Product: gcc
Version: 13.2.1
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111314
Bug ID: 111314
Summary: Can not deduct parameter pack as a single type
Product: gcc
Version: 13.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110594
Bug ID: 110594
Summary: std::variant's converting constructor does not resolve
alternative correctly
Product: gcc
Version: 13.1.1
Status: UNCONFIRMED
Severity: