public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/39244]  New: Various cleanup tests fail
@ 2009-02-19 15:55 danglin at gcc dot gnu dot org
  2009-02-19 16:06 ` [Bug target/39244] " danglin at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: danglin at gcc dot gnu dot org @ 2009-02-19 15:55 UTC (permalink / raw)
  To: gcc-bugs

Various cleanup and other exception related tests fail:

FAIL: gcc.dg/cleanup-10.c execution test
FAIL: gcc.dg/cleanup-11.c execution test
FAIL: gcc.dg/cleanup-8.c execution test
FAIL: gcc.dg/cleanup-9.c execution test

FAIL: g++.dg/ext/cleanup-10.C execution test
FAIL: g++.dg/ext/cleanup-11.C execution test
FAIL: g++.dg/ext/cleanup-8.C execution test
FAIL: g++.dg/ext/cleanup-9.C execution test

(gdb) r
Starting program: /home/dave/gnu/gcc/objdir/gcc/testsuite/gcc/cleanup-8.xg

Program received signal SIGSEGV, Segmentation fault.
0x00008584 in fn2 ()
    at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/cleanup-8.c:74
74        *null = 0;
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
_Unwind_VRS_Pop (context=0xbee652a8, regclass=<value optimized out>,
    discriminator=<value optimized out>, representation=_UVRSD_FLOAT)
    at ../../../gcc/libgcc/../gcc/config/arm/unwind-arm.c:318
318                   vrs->core.r[i] = *(ptr++);
(gdb) bt
#0  _Unwind_VRS_Pop (context=0xbee652a8, regclass=<value optimized out>,
    discriminator=<value optimized out>, representation=_UVRSD_FLOAT)
    at ../../../gcc/libgcc/../gcc/config/arm/unwind-arm.c:318
#1  0x400de694 in __gnu_unwind_execute (context=0xbee652a8, uws=0xbee6525c)
    at ../../../gcc/libgcc/../gcc/config/arm/pr-support.c:278
#2  0x400ddefc in __gnu_unwind_pr_common (state=_US_UNWIND_FRAME_STARTING,
    ucbp=0x11008, context=0xbee652a8, id=0)
    at ../../../gcc/libgcc/../gcc/config/arm/unwind-arm.c:1229
#3  0x400dd834 in unwind_phase2_forced (ucbp=0x11008,
    entry_vrs=<value optimized out>, resuming=<value optimized out>)
    at ../../../gcc/libgcc/../gcc/config/arm/unwind-arm.c:751
#4  0x400dd9c8 in __gnu_Unwind_Resume (ucbp=0x11008, entry_vrs=0xbee65764)
    at ../../../gcc/libgcc/../gcc/config/arm/unwind-arm.c:886
#5  0x400de400 in ___Unwind_Resume ()
    at ../../../gcc/libgcc/../gcc/config/arm/libunwind.S:339
#6  0x00008658 in fn4 (sig=<value optimized out>)
    at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/cleanup-8.c:43
#7  <signal handler called>
#8  0x00008584 in fn2 ()
    at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/cleanup-8.c:74
#9  0x000085c8 in fn1 ()
    at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/cleanup-8.c:83
#10 0x00008690 in fn0 ()
---Type <return> to continue, or q <return> to quit---
    at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/cleanup-8.c:90
#11 0x000086d0 in main ()
    at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/cleanup-8.c:97
(gdb) p/x $pc
$3 = 0x400ddae0
(gdb) disass 0x400ddad0 0x400ddaf0
Dump of assembler code from 0x400ddad0 to 0x400ddaf0:
0x400ddad0 <_Unwind_VRS_Pop+200>:       ldr     r1, [r0, #56]
0x400ddad4 <_Unwind_VRS_Pop+204>:       lsr     r2, r2, #16
0x400ddad8 <_Unwind_VRS_Pop+208>:       mov     r0, #1  ; 0x1
0x400ddadc <_Unwind_VRS_Pop+212>:       ands    r12, r2, r0, lsl r3
0x400ddae0 <_Unwind_VRS_Pop+216>:       ldrne   r5, [r1], #4
0x400ddae4 <_Unwind_VRS_Pop+220>:       addne   r12, r4, r3, lsl #2
0x400ddae8 <_Unwind_VRS_Pop+224>:       add     r3, r3, #1      ; 0x1
0x400ddaec <_Unwind_VRS_Pop+228>:       strne   r5, [r12, #4]
End of assembler dump.
(gdb) p/x $r1
$4 = 0x1c
(gdb) p ptr
$5 = (_uw *) 0x1c

-bash-3.2$ ./xgcc -B./ -v
Reading specs from ./specs
Target: arm-none-linux-gnueabi
Configured with: ../gcc/configure --host=arm-none-linux-gnueabi
--target=arm-none-linux-gnueabi --build=arm-none-linux-gnueabi
--disable-stage1-checking --enable-languages=c,c++,fortran --enable-shared
--enable-threads --disable-multilib --disable-libmudflap --disable-libssp
--enable-symvers=gnu --enable-__cxa_atexit --disable-libstdcxx-pch
--disable-checking --prefix=/home/dave/opt/gnu/gcc/gcc-4.4.0
--with-gmp=/home/dave/opt/gnu
Thread model: posix
gcc version 4.4.0 20090218 (experimental) [trunk revision 144268] (GCC)


-- 
           Summary: Various cleanup tests fail
           Product: gcc
           Version: 4.4.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: arm-none-linux-gnueabi
  GCC host triplet: arm-none-linux-gnueabi
GCC target triplet: arm-none-linux-gnueabi


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


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

end of thread, other threads:[~2012-12-11 23:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-39244-4@http.gcc.gnu.org/bugzilla/>
2012-09-24  7:19 ` [Bug target/39244] Various cleanup tests fail pinskia at gcc dot gnu.org
2012-12-11 21:56 ` sje at gcc dot gnu.org
2012-12-11 23:40 ` danglin at gcc dot gnu.org
2009-02-19 15:55 [Bug target/39244] New: " danglin at gcc dot gnu dot org
2009-02-19 16:06 ` [Bug target/39244] " danglin at gcc dot gnu dot org
2009-05-13 14:40 ` ramana at gcc dot gnu dot org
2009-05-13 15:16 ` dave at hiauly1 dot hia dot nrc dot ca
2009-05-13 15:19 ` ramana at gcc dot gnu dot org
2010-03-20 19:22 ` ramana 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).