[LLVMbugs] [Bug 8444] New: c++ templated embedded class looses field that under union

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Oct 22 18:06:52 PDT 2010


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

           Summary: c++ templated embedded class looses field that under
                    union
           Product: clang
           Version: trunk
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: yuri at tsoft.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Created an attachment (id=5651)
 --> (http://llvm.org/bugs/attachment.cgi?id=5651)
test case

For some reason I get this error when I compile the attached test case with
clang++:
allocators-e2.C:41:17: error: no member named 'xxxs' in 'Ppp::Ggg::Qqq<10,
10>::Hhh'
    ttt = &hhh->xxxs[0];

Even though there is the field xxxs in Hhh structure.

I am sure it's possible to minimize this testcase further.

rev.117057

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