[Bug target/37610] New: [4.4 Regression] FAIL: g++.dg/eh/pr29166.C execution test

danglin at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Sep 21 16:08:00 GMT 2008


Executing on host: /home/dave/gcc-4.4/objdir/gcc/testsuite/g++/../../g++
-B/home
/dave/gcc-4.4/objdir/gcc/testsuite/g++/../../
/home/dave/gcc-4.4/gcc/gcc/testsui
te/g++.dg/eh/pr29166.C  -nostdinc++
-I/home/dave/gcc-4.4/objdir/hppa-linux/libst
dc++-v3/include/hppa-linux
-I/home/dave/gcc-4.4/objdir/hppa-linux/libstdc++-v3/i
nclude -I/home/dave/gcc-4.4/gcc/libstdc++-v3/libsupc++
-I/home/dave/gcc-4.4/gcc/
libstdc++-v3/include/backward
-I/home/dave/gcc-4.4/gcc/libstdc++-v3/testsuite/ut
il -fmessage-length=0   -ansi -pedantic-errors -Wno-long-long   
-L/home/dave/gc
c-4.4/objdir/hppa-linux/./libstdc++-v3/src/.libs 
-L/home/dave/gcc-4.4/objdir/hp
pa-linux/./libstdc++-v3/src/.libs
-L/home/dave/gcc-4.4/objdir/hppa-linux/./libib
erty  -lm   -o ./pr29166.exe    (timeout = 300)
PASS: g++.dg/eh/pr29166.C (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/home/dave/gcc-4.4/objdir/hppa-linux/./libstdc++-v3
/src/.libs:/home/dave/gcc-4.4/objdir/hppa-linux/./libstdc++-v3/src/.libs:/home/d
ave/gcc-4.4/objdir/gcc:.:/home/dave/gcc-4.4/objdir/hppa-linux/./libstdc++-v3/src
/.libs:/home/dave/gcc-4.4/objdir/hppa-linux/./libstdc++-v3/src/.libs:/home/dave/
gcc-4.4/objdir/gcc:/home/dave/gcc-4.4/objdir/hppa-linux/libstdc++-v3/.libs:/home
/dave/gcc-4.4/objdir/hppa-linux/libmudflap/.libs:/home/dave/gcc-4.4/objdir/hppa-
linux/libssp/.libs:/home/dave/gcc-4.4/objdir/hppa-linux/libgomp/.libs:/home/dave
/gcc-4.4/objdir/./gcc:/home/dave/gcc-4.4/objdir/./prev-gcc
FAIL: g++.dg/eh/pr29166.C execution test

The program segvs:

Breakpoint 2, 0x402afd30 in _Unwind_DeleteException (exc=<value optimized out>)
    at ../../../gcc/libgcc/../gcc/unwind.inc:276
276         (*exc->exception_cleanup) (_URC_FOREIGN_EXCEPTION_CAUGHT, exc);
Current language:  auto; currently c
(gdb) bt
#0  0x402afd30 in _Unwind_DeleteException (exc=<value optimized out>)
    at ../../../gcc/libgcc/../gcc/unwind.inc:276
#1  0x00012558 in test ()
    at /home/dave/gcc-4.4/gcc/gcc/testsuite/g++.dg/eh/pr29166.C:86
#2  0x00000000 in ?? ()
(gdb) p/x $r22
$2 = 0x16098
(gdb) stepi
0x402afd34      276         (*exc->exception_cleanup)
(_URC_FOREIGN_EXCEPTION_CAUGHT, exc);
(gdb) 
$$dyncall () at ../../../gcc/libgcc/../gcc/config/pa/milli64.S:223
223             bb,>=,n %r22,30,LREF(1)         ; branch if not plabel address
Current language:  auto; currently asm
(gdb) 
223             bb,>=,n %r22,30,LREF(1)         ; branch if not plabel address
(gdb) 
229             bv      %r0(%r22)               ; branch to the real target
(gdb) 
235             stw     %r2,-24(%r30)           ; save return address into
frame marker
(gdb) 
0x00016098 in ?? ()
(gdb) 

Program received signal SIGILL, Illegal instruction.
0x00016098 in ?? ()

This regression was probably introduced in the recent switch to using
assembler CFI directives.


-- 
           Summary: [4.4 Regression] FAIL: g++.dg/eh/pr29166.C execution
                    test
           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: 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=37610



More information about the Gcc-bugs mailing list