http://llvm.org/bugs/show_bug.cgi?id=9866
Summary: Generated code causes segfault
Product: clang
Version: 2.9
Platform: PC
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Created an attachment (id=6554)
--> (http://llvm.org/bugs/attachment.cgi?id=6554)
Compile the code using Clang 2.9. Need to specify -I<eigen library header path>
The following code causes segfault in the generated executable when compiled
with Clang 2.8/2.9. Though it compiles & works fine with g++ & llvm-g++.
You would need Eigen 3.0.0 library to compile.
http://eigen.tuxfamily.org/index.php?title=Main_Page
If you uncomment the #define in the code, the executable works fine.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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