[v3] libstdc++/16612
Paolo Carlini
pcarlini@suse.de
Mon Sep 20 21:46:00 GMT 2004
Benjamin Kosnik wrote:
>I'll wait 24 hrs on this for Nathan and Paolo to comment.
>
>
Thanks.
I'm seeing something wrong with this type of testcase:
#include <string>
#include <cassert>
int main()
{
const std::string a;
assert ( a[0] == char() );
}
which should definitely pass, according to 21.3.4. It segfaults for me:
see also the third paragraph of Nathan's message in the audit trail...
Paolo.
More information about the Libstdc++
mailing list