https://llvm.org/bugs/show_bug.cgi?id=26288
Bug ID: 26288 Summary: Clang FE fails with assertion "DelayedTypos.empty() && "Uncorrected typos!" Product: clang Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Frontend Assignee: unassignedclangb...@nondot.org Reporter: andrey.kules...@intel.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified !- In this case Clang works correctly, but Front-end (-cc1) fails with assertion "DelayedTypos.empty() && "Uncorrected typos!". Seems that it happens because driver passes some option to a FE, that prevents a fail. -! ==========Environment============= OS: Linux Lang: C++ (std=c++11) Version: trunk ==========How to reproduce======== void f() { for ( struct S { int x; } i : X) ; } $ clang -cc1 test.cpp ==========Error=================== clang:/export/users/akulesho/compilers/ws_llvm_org/llvm/tools/clang/lib/Sema/Sema.cpp:290: clang::Sema::~Sema(): Assertion `DelayedTypos.empty() && "Uncorrected typos!"' failed. #0 0x0000000002d469f8 llvm::sys::PrintStackTrace(llvm::raw_ostream&) PATH/llvm/lib/Support/Unix/Signals.inc:322:0 <...> ================== Intel Compiler Engineer Andrey Kuleshov -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs