public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/49293] New: 22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14
@ 2011-06-05 18:56 hjl.tools at gmail dot com
  2011-06-05 22:28 ` [Bug libstdc++/49293] " paolo.carlini at oracle dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2011-06-05 18:56 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: 22_locale/time_get/get_weekday/char/38081-[12].cc fail
                    with glibc 2.14
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com


On Linux/x86, with glibc 2.14, 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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/49293] 22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14
  2011-06-05 18:56 [Bug libstdc++/49293] New: 22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14 hjl.tools at gmail dot com
@ 2011-06-05 22:28 ` paolo.carlini at oracle dot com
  2011-06-06  6:17 ` jakub at gcc dot gnu.org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-06-05 22:28 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-06-05 22:28:03 UTC ---
I think that the only possible explanation is that something changed in the
locale data for "ru_RU.ISO-8859-5". I don't have ready at hand a glibc 2.14
system, if somebody can check what has changed in the names of those weekdays
the fix is certainly simple only matter of tweaking the testcases to allow both
the old and the new names. Maybe Jakub can also help.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/49293] 22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14
  2011-06-05 18:56 [Bug libstdc++/49293] New: 22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14 hjl.tools at gmail dot com
  2011-06-05 22:28 ` [Bug libstdc++/49293] " paolo.carlini at oracle dot com
@ 2011-06-06  6:17 ` jakub at gcc dot gnu.org
  2011-06-06 10:42 ` paolo.carlini at oracle dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-06-06  6:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-06 06:17:14 UTC ---
Yeah, the locale changed:
http://sources.redhat.com/git/?p=glibc.git;a=commitdiff;h=f49839299a085505eb673544744b61d2d9cdd1db
I think it is a mistake to use variable length abmon, especially if some abmon
names are 5 characters long which isn't really abbreviation anymore, and to add
a useless dot to make it even longer, but ru_RU isn't the first locale to make
such a change.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/49293] 22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14
  2011-06-05 18:56 [Bug libstdc++/49293] New: 22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14 hjl.tools at gmail dot com
  2011-06-05 22:28 ` [Bug libstdc++/49293] " paolo.carlini at oracle dot com
  2011-06-06  6:17 ` jakub at gcc dot gnu.org
@ 2011-06-06 10:42 ` paolo.carlini at oracle dot com
  2011-06-06 10:44 ` paolo.carlini at oracle dot com
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-06-06 10:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-06-06 10:41:48 UTC ---
Created attachment 24446
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24446
Draft patch


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/49293] 22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14
  2011-06-05 18:56 [Bug libstdc++/49293] New: 22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14 hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2011-06-06 10:42 ` paolo.carlini at oracle dot com
@ 2011-06-06 10:44 ` paolo.carlini at oracle dot com
  2011-06-07  8:46 ` paolo.carlini at oracle dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-06-06 10:44 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.06.06 10:42:46
         AssignedTo|unassigned at gcc dot       |paolo.carlini at oracle dot
                   |gnu.org                     |com
     Ever Confirmed|0                           |1

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-06-06 10:42:46 UTC ---
Thanks Jakub. The patchlet I have just attached should do the trick, then. If
somebody would be so kind to test it...


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/49293] 22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14
  2011-06-05 18:56 [Bug libstdc++/49293] New: 22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14 hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2011-06-06 10:44 ` paolo.carlini at oracle dot com
@ 2011-06-07  8:46 ` paolo.carlini at oracle dot com
  2011-06-07  8:50 ` paolo at gcc dot gnu.org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-06-07  8:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-06-07 08:46:17 UTC ---
I guess I'm going to commit my patchlet, in case issues remain should be just
matter of tweaking a few chars in the strings, patch preapproved.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/49293] 22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14
  2011-06-05 18:56 [Bug libstdc++/49293] New: 22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14 hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2011-06-07  8:46 ` paolo.carlini at oracle dot com
@ 2011-06-07  8:50 ` paolo at gcc dot gnu.org
  2011-06-07  8:52 ` paolo.carlini at oracle dot com
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: paolo at gcc dot gnu.org @ 2011-06-07  8:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-06-07 08:50:08 UTC ---
Author: paolo
Date: Tue Jun  7 08:50:04 2011
New Revision: 174737

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174737
Log:
2011-06-07  Paolo Carlini  <paolo.carlini@oracle.com>

    PR libstdc++/49293
    * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: Tweak
    for glibc 2.14.
    * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.


Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/testsuite/22_locale/time_get/get_weekday/char/38081-1.cc
    trunk/libstdc++-v3/testsuite/22_locale/time_get/get_weekday/char/38081-2.cc


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/49293] 22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14
  2011-06-05 18:56 [Bug libstdc++/49293] New: 22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14 hjl.tools at gmail dot com
                   ` (5 preceding siblings ...)
  2011-06-07  8:50 ` paolo at gcc dot gnu.org
@ 2011-06-07  8:52 ` paolo.carlini at oracle dot com
  2011-07-22 16:48 ` uros at gcc dot gnu.org
  2011-07-24 21:51 ` uros at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-06-07  8:52 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.7.0

--- Comment #7 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-06-07 08:52:19 UTC ---
Done.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/49293] 22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14
  2011-06-05 18:56 [Bug libstdc++/49293] New: 22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14 hjl.tools at gmail dot com
                   ` (6 preceding siblings ...)
  2011-06-07  8:52 ` paolo.carlini at oracle dot com
@ 2011-07-22 16:48 ` uros at gcc dot gnu.org
  2011-07-24 21:51 ` uros at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: uros at gcc dot gnu.org @ 2011-07-22 16:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from uros at gcc dot gnu.org 2011-07-22 16:47:24 UTC ---
Author: uros
Date: Fri Jul 22 16:47:20 2011
New Revision: 176643

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176643
Log:
    Backport from mainline
    2011-06-07  Paolo Carlini  <paolo.carlini@oracle.com>

    PR libstdc++/49293
    * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: Tweak
    for glibc 2.14.
    * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.


Modified:
    branches/gcc-4_6-branch/libstdc++-v3/ChangeLog
   
branches/gcc-4_6-branch/libstdc++-v3/testsuite/22_locale/time_get/get_weekday/char/38081-1.cc
   
branches/gcc-4_6-branch/libstdc++-v3/testsuite/22_locale/time_get/get_weekday/char/38081-2.cc


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/49293] 22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14
  2011-06-05 18:56 [Bug libstdc++/49293] New: 22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14 hjl.tools at gmail dot com
                   ` (7 preceding siblings ...)
  2011-07-22 16:48 ` uros at gcc dot gnu.org
@ 2011-07-24 21:51 ` uros at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: uros at gcc dot gnu.org @ 2011-07-24 21:51 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from uros at gcc dot gnu.org 2011-07-24 21:50:51 UTC ---
Author: uros
Date: Sun Jul 24 21:50:48 2011
New Revision: 176719

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176719
Log:
    Backport from mainline
    2011-06-07  Paolo Carlini  <paolo.carlini@oracle.com>

    PR libstdc++/49293
    * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: Tweak
    for glibc 2.14.
    * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.


Modified:
    branches/gcc-4_5-branch/libstdc++-v3/ChangeLog
   
branches/gcc-4_5-branch/libstdc++-v3/testsuite/22_locale/time_get/get_weekday/char/38081-1.cc
   
branches/gcc-4_5-branch/libstdc++-v3/testsuite/22_locale/time_get/get_weekday/char/38081-2.cc


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-07-24 21:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-05 18:56 [Bug libstdc++/49293] New: 22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14 hjl.tools at gmail dot com
2011-06-05 22:28 ` [Bug libstdc++/49293] " paolo.carlini at oracle dot com
2011-06-06  6:17 ` jakub at gcc dot gnu.org
2011-06-06 10:42 ` paolo.carlini at oracle dot com
2011-06-06 10:44 ` paolo.carlini at oracle dot com
2011-06-07  8:46 ` paolo.carlini at oracle dot com
2011-06-07  8:50 ` paolo at gcc dot gnu.org
2011-06-07  8:52 ` paolo.carlini at oracle dot com
2011-07-22 16:48 ` uros at gcc dot gnu.org
2011-07-24 21:51 ` uros at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).