This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/23954] New: FAIL: gcc.c-torture/execute/20040709-1.c execution, -Os


Executing on host: /xxx/gnu/gcc-3.3/objdir/gcc/xgcc -B/xxx/gnu/gcc-3.3/objdir/gc
c/ /xxx/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.c-torture/execute/20040709-1.c  -w  -O
s  -fno-show-column  -lm   -o /xxx/gnu/gcc-3.3/objdir/gcc/testsuite/20040709-1.x
7    (timeout = 600)
PASS: gcc.c-torture/execute/20040709-1.c compilation,  -Os
Setting LD_LIBRARY_PATH to :/xxx/gnu/gcc-3.3/objdir/gcc::/xxx/gnu/gcc-3.3/objdir
/gcc
FAIL: gcc.c-torture/execute/20040709-1.c execution,  -Os

(gdb) r
Starting program: /xxx/gnu/gcc-3.3/objdir/gcc/testsuite/20040709-1.x7

Program received signal SIGBUS, Bus error.
0x00004788 in testB ()
(gdb) disass 0x00004774 0x00004798
Dump of assembler code from 0x4774 to 0x4798:
0x00004774 <testB+44>:  b,l 0x23a0 <myrnd>,rp
0x00004778 <testB+48>:  nop
0x0000477c <testB+52>:  ldo 8(r7),r19
0x00004780 <testB+56>:  stb,ma ret0,1(,r6)
0x00004784 <testB+60>:  cmpb,<> r19,r6,0x4774 <testB+44>
0x00004788 <testB+64>:  ldw -8(,r6),ret0
0x0000478c <testB+68>:  addil 0,dp,%r1
0x00004790 <testB+72>:  copy r1,r8
0x00004794 <testB+76>:  depwi -1,31,15,ret0
End of assembler dump.
(gdb) p/x $r6
$1 = 0x40001179

We have a misaligned load.

532 (hiauly1)dave> ../xgcc -B../ -v
Reading specs from ../specs
Target: hppa1.1-hp-hpux10.20
Configured with: ../gcc/configure --with-gnu-as --with-as=/usr/local/bin/as --
enable-shared --prefix=/opt/gnu/gcc/gcc-4.1.0 --with-local-prefix=/usr/local --
disable-nls --enable-debug=no --disable-libmudflap --enable-languages=c,c++
,objc,f95,java,ada --with-gmp=/opt/gnu/gcc/gcc-4.1.0
Thread model: single
gcc version 4.1.0 20050916 (experimental)

-- 
           Summary: FAIL: gcc.c-torture/execute/20040709-1.c execution,  -Os
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: hppa1.1-hp-hpux10.20
  GCC host triplet: hppa1.1-hp-hpux10.20
GCC target triplet: hppa1.1-hp-hpux10.20


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]