http://llvm.org/bugs/show_bug.cgi?id=9925
Summary: Regression: Invalid point of instantiation when using
std::string from libc++ in C++0x mode
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: C++0x
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
The following program crashes with a failed assertion when compiled with clang
and libc++:
#include <string>
struct Foo {
std::string string;
};
int main(int, char**)
{
Foo f;
}
clang invocation:
$ clang -std=c++0x -stdlib=libc++ clang.cpp
The failed assertion:
Assertion failed: (Loc.isValid() && "point of instantiation must be valid!"),
function setPointOfInstantiation
My clang version:
$ clang --version
clang version 3.0 (trunk 131400)
Target: x86_64-apple-darwin10.7.0
Thread model: posix
My libc++ version:
svn info .
[...]
Revision: 131400
The program does *not* crash when C++0x support is disabled.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs