http://llvm.org/bugs/show_bug.cgi?id=18898
Bug ID: 18898
Summary: Clang hangs with -O1 on switches
Product: clang
Version: 3.4
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 12088
--> http://llvm.org/bugs/attachment.cgi?id=12088&action=edit
re2c-generated C++ source file, contains big 'switch' statemants.
This hangs infinitely:
$ clang++ -O1 utf16_group_C.w.cpp
This .cpp file is autogenerated by RE2C scanner generator. RE2C can generate
either 'switch' statements or nested 'if' statements that express the same
logic.
Clang hangs on 'switch'es, but doesn't hang on 'if's. Clang hangs with -O1 or
higher level of optimisations, but not with -O0.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs