| Summary: | using gcc10 as compiler while including <ranges> crashes kdevelop | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Radu Benea <kitanatahu> |
| Component: | general | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | crash | CC: | aaronpuchert, kde |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 5.4.6 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| See Also: | https://bugs.llvm.org/show_bug.cgi?id=46355 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | New crash information added by DrKonqi | ||
|
Description
Radu Benea
2020-06-10 06:16:49 UTC
Created attachment 129178 [details]
New crash information added by DrKonqi
DrKonqi auto-attaching complete backtrace.
The following is a minimal reproducer of the crash...
/* BEGIN bug.h */
#include <concepts>
template <typename T1, typename T2>
concept Foo = true;
template <typename T1, typename T2>
struct Bug
{
template <Foo<Bug> T>
Bug(T&&) requires true
{ }
template <Foo<Bug> T>
Bug(T&&)
{ }
};
template <typename T1, typename T2>
Bug(T1, T2) -> Bug<T1, T2>;
/* END bug.h */
/* BEGIN bug.cpp */
#include "bug.h"
/* END bug.cpp */
Place bug.h and bug.cpp in a KDevelop project in C++2a mode. Kaboom!
(In reply to Radu Benea from comment #0) > The reporter indicates this bug may be a duplicate of or related to bug 421704. There may be more issues in Clang related to concepts and AST serialization, but I don't think it makes sense to track them separately for KDevelop. So I'll close this as duplicate. (In reply to Matt Whitlock from comment #2) > The following is a minimal reproducer of the crash... Thanks again, such minimal reproducers are extremely valuable for debugging the issue. *** This bug has been marked as a duplicate of bug 421704 *** |