------- Comment #6 from dave at hiauly1 dot hia dot nrc dot ca 2007-04-02 00:16 ------- Subject: Re: FAIL: 22_locale/time_get/get_date/wchar_t/4.cc execution test
> (In reply to comment #4) > > I would suggest checking the contents of __format when _M_extract_via_format > > starts, that is verifying that it begins with the exact same two chars of > > wstr > > in the C++ source and therefore L'%' and L'Y'. > > Sorry about the stupid typo: L'%' and L'Y' are of course the *third* and > *fourth* char of __format. The first two are identical to the first two chars > of wstr. I'm seeing L'%' and L'Y' as the first two characters in __format: (gdb) p __format[0] $34 = 37 (gdb) p __format[1] $35 = 89 Narrowing only occurs in just the one case that I mentioned (first character of wstr). Dave -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31413