This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] libstdc++/16612
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Mon, 20 Sep 2004 23:45:51 +0200
- Subject: Re: [v3] libstdc++/16612
- References: <20040920160809.7b3ad70e.bkoz@redhat.com>
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.