[LLVMbugs] [Bug 7520] clang: SemaExprCXX.cpp:2641: clang::Expr* clang::Sema::MaybeCreateCXXExprWithTemporaries(clang::Expr*): Assertion `SubExpr && "sub expression can't be null!"' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jul 31 13:07:44 PDT 2010


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

Daniel Dunbar <daniel at zuster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |daniel at zuster.org
         Resolution|                            |WORKSFORME

--- Comment #1 from Daniel Dunbar <daniel at zuster.org> 2010-07-31 15:07:44 CDT ---
I cannot reproduce this with TOT:
--
ddunbar at giles:tmp$ cat t.cpp
#include <vector>

template<std::size_t dims>
class Map
{
public:

    Map() :
        resolutions()
    {}

private:
    double resolutions[dims];
};

typedef Map<2> Map2D;
ddunbar at giles:tmp$ clang -m32 -c t.cpp
ddunbar at giles:tmp$ clang -c t.cpp
ddunbar at giles:tmp$ clang -v
clang version 2.8 ($URL$ 109952)
Target: x86_64-apple-darwin10
Thread model: posix
ddunbar at giles:tmp$ 
--

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