[LLVMbugs] [Bug 9866] New: Generated code causes segfault

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat May 7 08:52:12 PDT 2011


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: unassignedclangbugs at nondot.org
        ReportedBy: navneet.dalal at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


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.



More information about the llvm-bugs mailing list