[LLVMbugs] [Bug 11012] New: Segmentation fault

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Sep 26 07:08:13 PDT 2011


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

           Summary: Segmentation fault
           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-3.0 -cc1 -S test.ii crashes on:


class Variant {
  Variant(const int& aOther);
  Variant(const double& aOther);
};
class PPluginScriptableObjectParent {
  template<typename T>
  void Write(const T& __v) {
  }
  void foo();
  void Write(const Variant& __v);
};
void PPluginScriptableObjectParent::foo() {
  unsigned length = 0;
  Write(length);
}

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