public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/29111]  New: FAIL: gcc.dg/torture/pr26565.c  -O0  execution test
@ 2006-09-16 17:56 danglin at gcc dot gnu dot org
  2006-09-16 18:04 ` [Bug target/29111] " danglin at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 14+ messages in thread
From: danglin at gcc dot gnu dot org @ 2006-09-16 17:56 UTC (permalink / raw)
  To: gcc-bugs

Executing on host: /home/dave/gcc-4.2/objdir/gcc/xgcc
-B/home/dave/gcc-4.2/objdi
r/gcc/ /home/dave/gcc-4.2/gcc/gcc/testsuite/gcc.dg/torture/pr26565.c   -O0  
-fn
o-show-column  -lm   -o ./pr26565.exe    (timeout = 300)
PASS: gcc.dg/torture/pr26565.c  -O0  (test for excess errors)
Setting LD_LIBRARY_PATH to
:/home/dave/gcc-4.2/objdir/gcc::/home/dave/gcc-4.2/ob
jdir/gcc:/home/dave/gcc-4.2/objdir/hppa-linux/libstdc++-v3/.libs:/home/dave/gcc-
4.2/objdir/hppa-linux/libmudflap/.libs:/home/dave/gcc-4.2/objdir/hppa-linux/libs
sp/.libs:/home/dave/gcc-4.2/objdir/hppa-linux/libgomp/.libs:/home/dave/gcc-4.2/o
bjdir/./gcc:/home/dave/gcc-4.2/objdir/./prev-gcc
FAIL: gcc.dg/torture/pr26565.c  -O0  execution test

(gdb) r
Starting program: /home/dave/gcc-4.2/objdir/gcc/testsuite/gcc/pr26565.xg

Program received signal SIGBUS, Bus error.
0x00010474 in send_probe (outdata=0x20a28, tp=0x20a24)
    at /home/dave/gcc-4.2/gcc/gcc/testsuite/gcc.dg/torture/pr26565.c:20
20          memcpy(&outdata->tv, tp, sizeof outdata->tv);
(gdb) bt
#0  0x00010474 in send_probe (outdata=0x20a28, tp=0x20a24)
    at /home/dave/gcc-4.2/gcc/gcc/testsuite/gcc.dg/torture/pr26565.c:20
#1  0x000104ac in main ()
    at /home/dave/gcc-4.2/gcc/gcc/testsuite/gcc.dg/torture/pr26565.c:28
(gdb) p/x $pc
$1 = 0x10474
(gdb) disass send_probe
Dump of assembler code for function send_probe:
0x00010450 <send_probe+0>:      copy r3,r1
0x00010454 <send_probe+4>:      copy sp,r3
0x00010458 <send_probe+8>:      stw,ma r1,40(sp)
0x0001045c <send_probe+12>:     stw r26,-24(r3)
0x00010460 <send_probe+16>:     stw r25,-28(r3)
0x00010464 <send_probe+20>:     ldw -24(r3),ret0
0x00010468 <send_probe+24>:     ldo 5(ret0),r19
0x0001046c <send_probe+28>:     ldw -28(r3),ret0
0x00010470 <send_probe+32>:     ldw 0(ret0),ret0
0x00010474 <send_probe+36>:     stw ret0,0(r19)
0x00010478 <send_probe+40>:     ldo 40(r3),sp
0x0001047c <send_probe+44>:     ldw,mb -40(sp),r3
0x00010480 <send_probe+48>:     bv,n r0(rp)
End of assembler dump.
(gdb) p/x $r19
$2 = 0x20a2d

The "stw" at 0x00010474 is unaligned.  I noticed this because I
disabled the default unaligned fixup support in the kernel.

This is a regression from 3.4 which called memcpy.  All 4.x branches
fail.  The test doesn't fail under hpux because memcpy is called.


-- 
           Summary: FAIL: gcc.dg/torture/pr26565.c  -O0  execution test
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa-unknown-linux-gnu
  GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu


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


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

end of thread, other threads:[~2006-10-14 11:00 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-16 17:56 [Bug target/29111] New: FAIL: gcc.dg/torture/pr26565.c -O0 execution test danglin at gcc dot gnu dot org
2006-09-16 18:04 ` [Bug target/29111] " danglin at gcc dot gnu dot org
2006-09-16 19:18 ` danglin at gcc dot gnu dot org
2006-09-16 21:00 ` [Bug middle-end/29111] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-09-17 20:05 ` danglin at gcc dot gnu dot org
2006-09-17 20:21 ` danglin at gcc dot gnu dot org
2006-09-18 11:36 ` ebotcazou at gcc dot gnu dot org
2006-09-18 13:39 ` dave at hiauly1 dot hia dot nrc dot ca
2006-09-18 13:49 ` ebotcazou at gcc dot gnu dot org
2006-09-18 17:19   ` Andrew Pinski
2006-09-18 17:19 ` pinskia at physics dot uc dot edu
2006-09-21  2:04 ` mmitchel at gcc dot gnu dot org
2006-10-14 10:59 ` ebotcazou at gcc dot gnu dot org
2006-10-14 11:00 ` ebotcazou 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).