https://bugs.kde.org/show_bug.cgi?id=438249
--- Comment #19 from Igor Kushnir <igor...@gmail.com> --- (In reply to Andrei Slavoiu from comment #17) > No, not std::string. boost::string. Found the culprit: > > //This is the structure controlling a long string > struct long_t > { > size_type is_short : 1; > size_type length : (sizeof(size_type)*CHAR_BIT - 1); > And another correction, it's boost::container::string. Looks like boost has > multiple string implementations. Apparently Clang 14 considers the bit width of long_t::length value-dependent. Perhaps clang::FieldDecl::getBitWidthValue() should check if the bit width is value-dependent before calling Expr::EvaluateKnownConstInt(). Or perhaps clang_getFieldDeclBitWidth() should check that. If you can reproduce the crash consistently with Clang 14 (I cannot with my system Clang 13), report the bug. > Also, I compiled kdevelop with clang-13 again, and no more crash. Weird. Does KDevelop compiled against Clang 13 call Clang 14 implementation at runtime or does it keep using the Clang 13 version it was compiled against? -- You are receiving this mail because: You are watching all bug changes.