http://llvm.org/bugs/show_bug.cgi?id=10340

           Summary: Segmentation fault in simple template testcase
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


clang -cc1 -emit-llvm-bc -w nsRenderingContext.ii crashes on

template <class T> struct BaseRect {
  T x, y, width, height;
};
struct  gfxRect :     public BaseRect<double> {
};
gfxRect Transform(const gfxRect& rect);
gfxRect *foo;
void FillRect() {
  Transform(*foo);
}

-- 
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

Reply via email to