[LLVMbugs] [Bug 10340] New: Segmentation fault in simple template testcase

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jul 12 10:20:41 PDT 2011


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


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.



More information about the llvm-bugs mailing list