[LLVMbugs] [Bug 15111] New: ICE: cannot perform hierarchy conversion in EmitAggExpr

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 29 11:34:03 PST 2013


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

             Bug #: 15111
           Summary: ICE: cannot perform hierarchy conversion in
                    EmitAggExpr
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: joerg.richter at pdv-fs.de
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


cat > t.cc << EOF
struct foo_c
{
    static const int foo_c::* Id;
};
template<class SQ> struct Bar : foo_c {};
template<class T> inline bool operator==( int const& c, T const& v );
struct foo_t {};
void func()
{
  (void)(Bar<foo_t>().*Bar<foo_t>::Id == foo_t());
}
EOF

clang t.cc

Gives:

cannot perform hierarchy conversion in EmitAggExpr: should have been unpacked
before we got here
UNREACHABLE executed at
/tools/inst/tmp/tmp/llvm/tools/clang/lib/CodeGen/CGExprAgg.cpp:584!

This is with trunk 4 days ago.

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