https://llvm.org/bugs/show_bug.cgi?id=27246
Bug ID: 27246
Summary: r261346 causes this test case to fail
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Loop Optimizer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Starting with r261346 the following test case will fail when compiled
with clang/llvm for intel64 linux.
cat >t1.cpp <<EOF
#include <stdio.h>
int main ()
{
unsigned int i = 4;
unsigned int k = 17;
unsigned int n = 60;
unsigned int e = 0;
for (i = 1; i < 49; i++)
{
for (k = i; k > 1; --k) {
e = k;
}
n = e;
}
if (n == 2)
printf("Passed\n");
else
printf("Failed\n");
return 0;
}
EOF
Compile using
clang -c -O2 t1.cpp
clang -o t1.exe t1.c
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs