teemperor added a comment. In D92103#2428139 <https://reviews.llvm.org/D92103#2428139>, @martong wrote:
> Hey Raphael, thanks for looking into the CTU crash! > > I also had a look and I could reproduce that on Linux Ubuntu 18.04 with GCC > 7. I think the discrepancy stems from GCC's libstdc++ and MacOS's libc++ > implementation differences of `basic_streambuf`. This is the CXXRecordDecl > which does not need an injected class name type (so there is the assert). > However, the situation is more complex because there is a 5 long redecl chain > (streambuf is forward declared in many places). > > Anyway, I don't think that this patch itself caused the crash, it just > revealed some other issues that are related to the possibly flawed import > logic of injected class (name) types. I am adding another college @balazske > as a subscriber because he started to investigate the crash deeper. Quick note: I should have mention that I actually tried reproducing this issue with libstdc++/GCC 10.2.0 on Arch Linux. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D92103/new/ https://reviews.llvm.org/D92103 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits