[Bug libstdc++/92850] clang has already supported concepts in latest trunk. However it does not define __cpp_concepts macro. I defined it but crashes clang compiler

euloanty at live dot com gcc-bugzilla@gcc.gnu.org
Sat Dec 7 01:01:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92850

--- Comment #2 from fdlbxtqi <euloanty at live dot com> ---
(In reply to Andrew Pinski from comment #1)
> The crash itself should report to llvm project for sure.
> 
> Are you sure concepts are fully implemented in clang?

Yea. I know it is an LLVM bug and should be reported for LLVM project and I
have done that directly to clang concepts author. However, this can still be
useful to check whether <concepts>, <ranges> implementation in GCC is valid or
not.


"Are you sure concepts are fully implemented in clang?"

Yes, but feature testing macro is missing.


More information about the Gcc-bugs mailing list