public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35838]  New: FAIL: 22_locale/num_get/get/char/16.cc execution test, and 76 others
@ 2008-04-05 23:20 danglin at gcc dot gnu dot org
  2008-04-06 16:28 ` [Bug c++/35838] " danglin at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-04-05 23:20 UTC (permalink / raw)
  To: gcc-bugs

Executing on host: /test/gnu/gcc/objdir/./gcc/g++ -shared-libgcc
-B/test/gnu/gcc
/objdir/./gcc -nostdinc++
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++
-v3/src -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs
-B/o
pt/gnu/gcc/gcc-4.4.0/hppa2.0w-hp-hpux11.11/bin/
-B/opt/gnu/gcc/gcc-4.4.0/hppa2.0
w-hp-hpux11.11/lib/ -isystem
/opt/gnu/gcc/gcc-4.4.0/hppa2.0w-hp-hpux11.11/includ
e -isystem /opt/gnu/gcc/gcc-4.4.0/hppa2.0w-hp-hpux11.11/sys-include -g -O2
-D_GL
IBCXX_ASSERT -fmessage-length=0 -g -O2 -g -O2   -DLOCALEDIR="." -nostdinc++
-I/t
est/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11
.11 -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include
-I/test/gn
u/gcc/gcc/libstdc++-v3/libsupc++
-I/test/gnu/gcc/gcc/libstdc++-v3/include/backwa
rd -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util
/test/gnu/gcc/gcc/libstdc++-v
3/testsuite/22_locale/num_get/get/char/16.cc    -include bits/stdc++.h
./libtest
c++.a  -lm   -o ./16.exe    (timeout = 600)
PASS: 22_locale/num_get/get/char/16.cc (test for excess errors)
Setting LD_LIBRARY_PATH to
:/test/gnu/gcc/objdir/gcc:/test/gnu/gcc/objdir/hppa2.
0w-hp-hpux11.11/./libstdc++-v3/src/.libs::/test/gnu/gcc/objdir/gcc:/test/gnu/gcc
/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs
Assertion failed: err == ios_base::eofbit, file
/test/gnu/gcc/gcc/libstdc++-v3/t
estsuite/22_locale/num_get/get/char/16.cc, line 57
FAIL: 22_locale/num_get/get/char/16.cc execution test

These failures were introduced between 133450 and 133543.


-- 
           Summary: FAIL: 22_locale/num_get/get/char/16.cc execution test,
                    and 76 others
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa*-*-*
  GCC host triplet: hppa*-*-*
GCC target triplet: hppa*-*-*


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


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

* [Bug c++/35838] FAIL: 22_locale/num_get/get/char/16.cc execution test, and 76 others
  2008-04-05 23:20 [Bug c++/35838] New: FAIL: 22_locale/num_get/get/char/16.cc execution test, and 76 others danglin at gcc dot gnu dot org
@ 2008-04-06 16:28 ` danglin at gcc dot gnu dot org
  2008-04-09 14:14 ` danglin at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-04-06 16:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from danglin at gcc dot gnu dot org  2008-04-06 16:27 -------
Running under gdb, I see

16.xg:
/home/dave/gnu/gcc-4.4/gcc/libstdc++-v3/testsuite/22_locale/num_get/get/char/16.cc:57:
void test01(): Assertion `err == ios_base::eofbit' failed.

Program received signal SIGABRT, Aborted.

err has the value 6.


-- 


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


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

* [Bug c++/35838] FAIL: 22_locale/num_get/get/char/16.cc execution test, and 76 others
  2008-04-05 23:20 [Bug c++/35838] New: FAIL: 22_locale/num_get/get/char/16.cc execution test, and 76 others danglin at gcc dot gnu dot org
  2008-04-06 16:28 ` [Bug c++/35838] " danglin at gcc dot gnu dot org
@ 2008-04-09 14:14 ` danglin at gcc dot gnu dot org
  2008-04-12 22:23 ` danglin at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-04-09 14:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from danglin at gcc dot gnu dot org  2008-04-09 14:13 -------
This was introduced in revision 133452.


-- 

danglin at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rsandifo at gcc dot gnu dot
                   |                            |org


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


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

* [Bug c++/35838] FAIL: 22_locale/num_get/get/char/16.cc execution test, and 76 others
  2008-04-05 23:20 [Bug c++/35838] New: FAIL: 22_locale/num_get/get/char/16.cc execution test, and 76 others danglin at gcc dot gnu dot org
  2008-04-06 16:28 ` [Bug c++/35838] " danglin at gcc dot gnu dot org
  2008-04-09 14:14 ` danglin at gcc dot gnu dot org
@ 2008-04-12 22:23 ` danglin at gcc dot gnu dot org
  2008-04-12 22:35 ` [Bug middle-end/35838] [4.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-04-12 22:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from danglin at gcc dot gnu dot org  2008-04-12 22:22 -------
The files locale-inst.o and wlocale-inst.o differ in size before and after
the change.  The first significant difference in code is here:

@@ -19075,7 +19075,7 @@ _ZNKSt8time_putIcSt19ostreambuf_iterator
        stw %r19,-32(%r30)
        stw %r11,32(%r3)
 .LCFI737:
-       extru %r23,7,8,%r11
+       extru %r24,7,8,%r11
        stw %r10,36(%r3)
 .LCFI738:
        extrs %r28,31,8,%r10
@@ -19110,11 +19110,11 @@ _ZNKSt8time_putIcSt19ostreambuf_iterator
        copy %r19,%r4
 .LBE3740:
        .loc 4 1136 0
-       stw %r24,-44(%r3)
+       stw %r23,-48(%r3)


Before the change, the code looked like this:

_ZNKSt8time_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE6do_putES3_RSt8ios
_basecPK2tmcc:
        .PROC
        .CALLINFO FRAME=128,CALLS,SAVE_RP,SAVE_SP,ENTRY_GR=11
        .ENTRY
.LVL1231:
        copy %r3,%r1
.LCFI733:
        stw %r2,-20(%r30)
.LCFI734:
        copy %r30,%r3
.LCFI735:
        stwm %r1,128(%r30)
.LCFI736:
        ldw -68(%r3),%r20
        ldw -64(%r3),%r28
        stw %r19,-32(%r30)
        stw %r11,32(%r3)
.LCFI737:
        extru %r23,7,8,%r11

r23 and r24 are argument registers.  The argument registers are allocated
in the following order: r26, r25, r24, r23.  Objects up to 64 bits are
passed in registers.  It sort of looks like we must be dealing with a 64-bit
object passed in r23 and r24.  The most significant 32 bits would be passed
in r23 and the least significant 32-bits in r24.  The extru instruction
extracts the most significant byte (unsigned) from the argument register.
Somehow, the patch seems to have affected the ordering of the least and
most significant parts. 


-- 


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


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

* [Bug middle-end/35838] [4.4 Regression] FAIL: 22_locale/num_get/get/char/16.cc execution test, and 76 others
  2008-04-05 23:20 [Bug c++/35838] New: FAIL: 22_locale/num_get/get/char/16.cc execution test, and 76 others danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-04-12 22:23 ` danglin at gcc dot gnu dot org
@ 2008-04-12 22:35 ` pinskia at gcc dot gnu dot org
  2008-04-13 14:10 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-04-12 22:35 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |middle-end
           Keywords|                            |wrong-code
            Summary|FAIL:                       |[4.4 Regression] FAIL:
                   |22_locale/num_get/get/char/1|22_locale/num_get/get/char/1
                   |6.cc execution test, and 76 |6.cc execution test, and 76
                   |others                      |others
   Target Milestone|---                         |4.4.0


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


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

* [Bug middle-end/35838] [4.4 Regression] FAIL: 22_locale/num_get/get/char/16.cc execution test, and 76 others
  2008-04-05 23:20 [Bug c++/35838] New: FAIL: 22_locale/num_get/get/char/16.cc execution test, and 76 others danglin at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-04-12 22:35 ` [Bug middle-end/35838] [4.4 Regression] " pinskia at gcc dot gnu dot org
@ 2008-04-13 14:10 ` dave at hiauly1 dot hia dot nrc dot ca
  2008-04-14 11:28 ` rsandifo at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2008-04-13 14:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca  2008-04-13 14:09 -------
Subject: Re:  [4.4 Regression] FAIL:
        22_locale/num_get/get/char/16.cc execution test, and 76 others

Attatched .ii file generated on hppa-unknown-linux-gnu.

Dave


------- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca  2008-04-13 14:09 -------
Created an attachment (id=15471)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15471&action=view)


-- 


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


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

* [Bug middle-end/35838] [4.4 Regression] FAIL: 22_locale/num_get/get/char/16.cc execution test, and 76 others
  2008-04-05 23:20 [Bug c++/35838] New: FAIL: 22_locale/num_get/get/char/16.cc execution test, and 76 others danglin at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-04-13 14:10 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2008-04-14 11:28 ` rsandifo at gcc dot gnu dot org
  2008-04-15 15:38 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2008-04-14 11:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rsandifo at gcc dot gnu dot org  2008-04-14 11:27 -------
Created an attachment (id=15477)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15477&action=view)
Possible fix

Sorry for the problems.  Can you give this patch a try?
I'd wrongly assumed that one of the subregs would always
be paradoxical.

Richard


-- 

rsandifo at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rsandifo at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED


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


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

* [Bug middle-end/35838] [4.4 Regression] FAIL: 22_locale/num_get/get/char/16.cc execution test, and 76 others
  2008-04-05 23:20 [Bug c++/35838] New: FAIL: 22_locale/num_get/get/char/16.cc execution test, and 76 others danglin at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2008-04-14 11:28 ` rsandifo at gcc dot gnu dot org
@ 2008-04-15 15:38 ` dave at hiauly1 dot hia dot nrc dot ca
  2008-04-17 20:21 ` rsandifo at gcc dot gnu dot org
  2008-04-17 20:22 ` [Bug rtl-optimization/35838] " rsandifo at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2008-04-15 15:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from dave at hiauly1 dot hia dot nrc dot ca  2008-04-15 15:37 -------
Subject: Re:  [4.4 Regression] FAIL: 22_locale/num_get/get/char/16.cc execution
test, and 76 others

> Sorry for the problems.  Can you give this patch a try?
> I'd wrongly assumed that one of the subregs would always
> be paradoxical.

The patch fixes this PR and PR ada/35687.

Thanks,
Dave


-- 


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


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

* [Bug middle-end/35838] [4.4 Regression] FAIL: 22_locale/num_get/get/char/16.cc execution test, and 76 others
  2008-04-05 23:20 [Bug c++/35838] New: FAIL: 22_locale/num_get/get/char/16.cc execution test, and 76 others danglin at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2008-04-15 15:38 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2008-04-17 20:21 ` rsandifo at gcc dot gnu dot org
  2008-04-17 20:22 ` [Bug rtl-optimization/35838] " rsandifo at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2008-04-17 20:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rsandifo at gcc dot gnu dot org  2008-04-17 20:20 -------
Subject: Bug 35838

Author: rsandifo
Date: Thu Apr 17 20:20:13 2008
New Revision: 134411

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134411
Log:
gcc/
        PR rtl-optimization/35838
        * dse.c (find_shift_sequence): Use subreg_lowpart_offset to work
        out the byte offset of the first subreg.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dse.c


-- 


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


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

* [Bug rtl-optimization/35838] [4.4 Regression] FAIL: 22_locale/num_get/get/char/16.cc execution test, and 76 others
  2008-04-05 23:20 [Bug c++/35838] New: FAIL: 22_locale/num_get/get/char/16.cc execution test, and 76 others danglin at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2008-04-17 20:21 ` rsandifo at gcc dot gnu dot org
@ 2008-04-17 20:22 ` rsandifo at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2008-04-17 20:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from rsandifo at gcc dot gnu dot org  2008-04-17 20:21 -------
Patch applied.


-- 

rsandifo at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
          Component|middle-end                  |rtl-optimization
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2008-04-17 20:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-05 23:20 [Bug c++/35838] New: FAIL: 22_locale/num_get/get/char/16.cc execution test, and 76 others danglin at gcc dot gnu dot org
2008-04-06 16:28 ` [Bug c++/35838] " danglin at gcc dot gnu dot org
2008-04-09 14:14 ` danglin at gcc dot gnu dot org
2008-04-12 22:23 ` danglin at gcc dot gnu dot org
2008-04-12 22:35 ` [Bug middle-end/35838] [4.4 Regression] " pinskia at gcc dot gnu dot org
2008-04-13 14:10 ` dave at hiauly1 dot hia dot nrc dot ca
2008-04-14 11:28 ` rsandifo at gcc dot gnu dot org
2008-04-15 15:38 ` dave at hiauly1 dot hia dot nrc dot ca
2008-04-17 20:21 ` rsandifo at gcc dot gnu dot org
2008-04-17 20:22 ` [Bug rtl-optimization/35838] " rsandifo at gcc dot gnu dot 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).