This is the mail archive of the gcc-patches@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]

Re: [PATCH]: Fix debug/17924 and debug/19191, take two


Daniel Berlin wrote:
> This is an updated patch to fix debug/17924 and debug/19191, both 4.0 
> regressions (17924 is the dwarf-die7.c testsuite failure).

Hi Daniel,

  I'm seeing a new Java failure (i686-pc-linux-gnu, --disable-checking):

  FAIL: String_overflow -O3 compilation from source

It is an ICE in dwarf2out.c at "-O3 -g".

Simple way to reproduce:

  gcj -O3 -g -c String_overflow.java

(The testcase is in $GCC_SRC_DIR/libjava/testsuite/libjava.lang)

Backtrace:
--------------------------------- 8< ----------------------------------
(gdb) r
Starting program: /home/ranmath/src/gcc/build/gcc/jc1 String_overflow.java -fhas
h-synchronization -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exception
s -fno-omit-frame-pointer -fkeep-inline-functions -quiet -dumpbase String_overfl
ow.java -mtune=pentiumpro -auxbase String_overflow -g -O3 -I/home/ranmath/src/gc
c/build/i686-pc-linux-gnu/libjava/libgcj-4.0.0.jar -o /tmp/cc58t1BT.s

Program received signal SIGSEGV, Segmentation fault.
prune_unused_types_mark (die=0x0, dokids=1)
    at /home/ranmath/src/gcc/gcc-20050104/gcc/dwarf2out.c:13402
13402     if (die->die_mark == 0)
(gdb) bt
#0  prune_unused_types_mark (die=0x0, dokids=1)
    at /home/ranmath/src/gcc/gcc-20050104/gcc/dwarf2out.c:13402
#1  0x0814552f in prune_unused_types_walk_attribs (die=Variable "die" is not available.)
    at /home/ranmath/src/gcc/gcc-20050104/gcc/dwarf2out.c:13382
#2  0x08145582 in prune_unused_types_walk (die=0xb7217924)
    at /home/ranmath/src/gcc/gcc-20050104/gcc/dwarf2out.c:13483
#3  0x08145597 in prune_unused_types_walk (die=Variable "die" is not available.)
    at /home/ranmath/src/gcc/gcc-20050104/gcc/dwarf2out.c:13487
#4  0x08145597 in prune_unused_types_walk (die=Variable "die" is not available.)
    at /home/ranmath/src/gcc/gcc-20050104/gcc/dwarf2out.c:13487
#5  0x08145597 in prune_unused_types_walk (die=Variable "die" is not available.)
    at /home/ranmath/src/gcc/gcc-20050104/gcc/dwarf2out.c:13487
#6  0x08145597 in prune_unused_types_walk (die=Variable "die" is not available.)
    at /home/ranmath/src/gcc/gcc-20050104/gcc/dwarf2out.c:13487
#7  0x08145597 in prune_unused_types_walk (die=Variable "die" is not available.)
    at /home/ranmath/src/gcc/gcc-20050104/gcc/dwarf2out.c:13487
#8  0x0814f018 in dwarf2out_finish (filename=0xbfffc53e "String_overflow.java")
    at /home/ranmath/src/gcc/gcc-20050104/gcc/dwarf2out.c:13535
#9  0x082d927b in toplev_main (argc=0, argv=0xbfffa0e4)
    at /home/ranmath/src/gcc/gcc-20050104/gcc/toplev.c:1030
#10 0x00a7f79d in __libc_start_main () from /lib/tls/libc.so.6
#11 0x08049b71 in _start ()
(gdb)
--------------------------------- 8< ----------------------------------

Thanks,
Ranjit.

-- 
Ranjit Mathew      Email: rmathew AT gmail DOT com

Bangalore, INDIA.    Web: http://ranjitmathew.hostingzero.com/


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