This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] libstdc++/16612


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]