https://bugs.kde.org/show_bug.cgi?id=422716
Bug ID: 422716 Summary: using gcc10 as compiler while including <ranges> crashes kdevelop Product: kdevelop Version: 5.4.6 Platform: Gentoo Packages OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: kdevelop-bugs-n...@kde.org Reporter: kitanat...@gmail.com Target Milestone: --- Application: kdevelop (5.4.6) Qt Version: 5.14.2 Frameworks Version: 5.70.0 Operating System: Linux 5.6.15-gentoo x86_64 Windowing system: X11 Distribution: "Gentoo Base System release 2.6" -- Information about the crash: - What I was doing when the application crashed: I went to Project->Open Configuration->Language Support->C/C++ parser and switch the "Compiler for path" option to GCC10 - Custom settings of the application: in Settings->Configure KDevelop->C/C++ Compilers I manually added an entry named GCC10 with "Compiler executable" set to gcc-10.1.0 This was in a project created from Project->New From Template...->Standard->Terminal->CMake C++ in which I just added the line #include <ranges> The crash can be reproduced every time. -- Backtrace (Reduced): #5 0x00007ff7329f3826 in isSameEntity(clang::NamedDecl*, clang::NamedDecl*) () from /usr/lib/llvm/10/lib64/libclang.so.10 #6 0x00007ff732a20170 in clang::ASTDeclReader::findExisting(clang::NamedDecl*) () from /usr/lib/llvm/10/lib64/libclang.so.10 #7 0x00007ff732a281d0 in void clang::ASTDeclReader::mergeRedeclarable<clang::RedeclarableTemplateDecl>(clang::Redeclarable<clang::RedeclarableTemplateDecl>*, clang::ASTDeclReader::RedeclarableResult&, unsigned int) () from /usr/lib/llvm/10/lib64/libclang.so.10 #8 0x00007ff732a282cc in clang::ASTDeclReader::VisitRedeclarableTemplateDecl(clang::RedeclarableTemplateDecl*) () from /usr/lib/llvm/10/lib64/libclang.so.10 #9 0x00007ff732a2913f in clang::ASTDeclReader::VisitFunctionTemplateDecl(clang::FunctionTemplateDecl*) () from /usr/lib/llvm/10/lib64/libclang.so.10 The reporter indicates this bug may be a duplicate of or related to bug 421704. Possible duplicates by query: bug 422533, bug 422509, bug 422200, bug 422009, bug 421930. Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.