[LLVMbugs] [Bug 6748] New: missed optimization for vtables

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Mar 30 21:30:27 PDT 2010


           Summary: missed optimization for vtables
           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

We produce a vtable for

template <typename T>
struct foo {
  virtual void bar() {}
template struct foo<int>;

so we don't have to produce one for

template <typename T>
struct foo {
  virtual void bar() {}
extern template struct foo<int>;
void zed() {
  foo<int> a;

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