[LLVMbugs] [Bug 9925] New: Regression: Invalid point of instantiation when using std::string from libc++ in C++0x mode
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon May 16 02:20:14 PDT 2011
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: unassignedclangbugs at nondot.org
ReportedBy: jonathan.sauer at gmx.de
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
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.
More information about the llvm-bugs
mailing list