[LLVMbugs] [Bug 11419] New: Assertion `getCanonicalType(T) != T && "Cannot request the size of a dependent type"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Nov 21 16:23:25 PST 2011


             Bug #: 11419
           Summary: Assertion `getCanonicalType(T) != T && "Cannot request
                    the size of a dependent type"
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: marc.glisse at normalesup.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Compiled with clang++ -c a.ii, I get an assertion failure:

template <unsigned int >   class CMap_one_dart_per_cell_iterator  {
template < unsigned int >   struct Combinatorial_map_base   {
        static const unsigned int dimension = 42;
        template<int dim=dimension>     struct One_dart_per_cell_range {
                typedef CMap_one_dart_per_cell_iterator<dim> iterator;
typedef Combinatorial_map_base<3> CMap_3;
int main() {
        CMap_3::One_dart_per_cell_range<>::iterator 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