https://bugs.llvm.org/show_bug.cgi?id=43560
Bug ID: 43560
Summary: clang hang in RecursiveTransformLoop() in
SemaExprCXX.cpp
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
The following code:
--------------------- foo.c ---------------------
int v_63 ;
void v_2_0(int v_452, int v_454) {}
int v_3_0() {
for (int v_345 = 0 ; v_63;)
v_2_0(v_195, v_231);
}
-------------------------------------------------
compiled with:
clang -cc1 -triple x86_64-unknown-unknown -S -O0 -Wall -emit-llvm-bc -o - -x c
foo.c
get stuck and never returns from RecursiveTransformLoop().
Note: both 'v_195' and 'v_231' are undeclared identifiers.
Note: if the loop variable 'v_345' is renamed to say 'i' clang will not hang.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs