Bug 709186

Summary: glibc-2.13.90-14 failed 22_locale/time_get/get_weekday/char/38081-1.cc
Product: [Fedora] Fedora Reporter: H.J. Lu <hongjiu.lu>
Component: glibcAssignee: Andreas Schwab <schwab>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: fweimer, jakub, schwab
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-31 13:39:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
A testcase none

Description H.J. Lu 2011-05-31 01:16:55 UTC
When I run "make check" in GCC 4.7 under glibc-2.13.90-14 on
ia32 and x86-64, I got

FAIL: 22_locale/time_get/get_weekday/char/38081-1.cc execution test
FAIL: 22_locale/time_get/get_weekday/char/38081-2.cc execution test

Comment 1 H.J. Lu 2011-05-31 02:12:38 UTC
Created attachment 501900 [details]
A testcase

glibc-2.13.90-14:

[hjl@gnu-snb-1 testsuite]$ ./38081-2.exe
38081-2.exe: /export/gnu/import/git/gcc/libstdc++-v3/testsuite/22_locale/time_get/get_weekday/char/38081-2.cc:69: void test01(): Assertion `time01.tm_wday == i' failed.
Aborted (core dumped)
[hjl@gnu-snb-1 testsuite]$ 

glibc-2.13.90-11:

[hjl@gnu-4 testsuite]$ ./38081-2.exe
[hjl@gnu-4 testsuite]$

Comment 2 Andreas Schwab 2011-05-31 13:06:36 UTC
So fix the test.

Comment 3 H.J. Lu 2011-05-31 13:13:00 UTC
Thoses 2 tests have been in GCC for a long time.
Would you mind telling me what is wrong in
those 2 tests? Thanks in advance.

Comment 4 Andreas Schwab 2011-05-31 13:39:30 UTC
f49839299a085505eb673544744b61d2d9cdd1db

Comment 5 H.J. Lu 2011-05-31 13:48:05 UTC
(In reply to comment #4)
> f49839299a085505eb673544744b61d2d9cdd1db

Would you mind telling what it is? Thanks.