[Bug libstdc++/31413] FAIL: 22_locale/time_get/get_date/wchar_t/4.cc execution test

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Sun Apr 1 23:31:00 GMT 2007



------- Comment #7 from pcarlini at suse dot de  2007-04-02 00:31 -------
(In reply to comment #6)
> 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

That means that something is going badly wrong when __dates[0] is set in
do_get_date. You should follow __tp._M_date_formats(__dates), before the
_M_extract_via_format call. And going back as much as necessary.

Anyway, I would suggest you finding somewhere an x86, x86_64, ia64, powerpc or
s390 system and have that as reference, ready at hand. Otherwise, the debugging
will proceed too slowly.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31413



More information about the Gcc-bugs mailing list