public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "danglin at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/39244]  New: Various cleanup tests fail
Date: Thu, 19 Feb 2009 15:55:00 -0000	[thread overview]
Message-ID: <bug-39244-276@http.gcc.gnu.org/bugzilla/> (raw)

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


             reply	other threads:[~2009-02-19 15:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-19 15:55 danglin at gcc dot gnu dot org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-39244-276@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).