https://llvm.org/bugs/show_bug.cgi?id=28132
Bug ID: 28132 Summary: Clang fails on Windows with enabled exceptions during loop unrolling Product: new-bugs Version: trunk Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P Component: new bugs Assignee: unassignedb...@nondot.org Reporter: adam...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 16544 --> https://llvm.org/bugs/attachment.cgi?id=16544&action=edit Compilation data If I try to compile this program with exceptions enabled and -O2 then I get error message: Assertion failed: L->isLoopSimplifyForm() && "Must put loop into normal form fir st.", file D:\src\llvm_package_272293\llvm\lib\Transforms\Scalar\LoopUnrollPass. cpp, line 363 compilation script: clang-cl /EHsc main.cpp -O2 /link Source code (also in attachment): #include <vector> using namespace std; struct Block { int colorA; int colorB; }; int main() { while (true) { vector<Block> blocks; for (int i = 0; i < 6; i++) { blocks.push_back(Block()); } throw Block(); } } In attachment I added also preprocessed source and whole compilation output. Tested also on most recent available revision @272572 -- 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