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

Bug in 970924 snapshot


This bug doesn't occur in "gcc version cygnus-2.7.2-970404" (I don't
know how that relates to the egcs distribution).

I'm running on "SunOS 5.5.1 Generic sun4u sparc SUNW,Ultra-1".

The bug occurs in "cc1plus", it a segmentation fault.

The bug only occurs when I'm optimizing.  Unfortunately, I don't have
the time to come up with a simple example that flags this.  If you
need more info, let me know.

Here's the stack trace: 

    (gdb) r
    The program being debugged has been started already.
    Start it from the beginning? (y or n) y
    Starting program: /d4mutl/contrib/egcs/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.90.10/cc1plus SpeechFeature.ii -quiet -dumpbase SpeechFeature.cc -mcpu=ultrasparc -O2 -Wall -version -funsigned-char -fno-exceptions -o SpeechFeature.s
    GNU C++ version egcs-2.90.10 970924 (gcc2-970802 experimental) (sparc-sun-solaris2.5.1) compiled by GNU C version cygnus-2.7.2-970404.

    Program received signal SIGSEGV, Segmentation fault.
    0x195420 in add_insn_after (insn=0xe3b568, after=0x0) at emit-rtl.c:2310
    (gdb) where
    #0  0x195420 in add_insn_after (insn=0xe3b568, after=0x0) at emit-rtl.c:2310
    #1  0x195e68 in emit_insn_after (pattern=0xe3b558, after=0x0) at emit-rtl.c:2619
    #2  0x1dc6a4 in copy_rtx_and_substitute (orig=0x3dfc78, map=0xefffe0a0) at integrate.c:2259
    #3  0x1dd48c in copy_rtx_and_substitute (orig=0xa84930, map=0xefffe0a0) at integrate.c:2559
    #4  0x1dd48c in copy_rtx_and_substitute (orig=0xa84940, map=0xefffe0a0) at integrate.c:2559
    #5  0x1db8dc in expand_inline_function (fndecl=0x9daca0, parms=0x3d61a8, target=0x0, 
        ignore=0, type=0x3e2cb8, structure_value_addr=0x0) at integrate.c:1840
    #6  0x14e504 in expand_call (exp=0xbc6a60, target=0x0, ignore=0) at calls.c:724
    #7  0x13cea8 in expand_expr (exp=0xbc6a60, target=0x0, tmode=VOIDmode, 
        modifier=EXPAND_NORMAL) at expr.c:5951
    #8  0x13a45c in expand_expr (exp=0x3d68d0, target=0x0, tmode=VOIDmode, 
        modifier=EXPAND_NORMAL) at expr.c:5211
    #9  0x122f20 in expand_cleanups (list=0x3d68e8, dont_do=0x0, in_fixup=1, reachable=1)
        at stmt.c:4199
    #10 0x11b5c0 in fixup_gotos (thisblock=0x8139c0, stack_level=0x0, cleanup_list=0x3d68e8, 
        first_insn=0xbc5e50, dont_jump_in=1) at stmt.c:1263
    #11 0x1213f0 in expand_end_bindings (vars=0xe18450, mark_ends=1, dont_jump_in=1)
        at stmt.c:3457
    #12 0x4c4c8 in do_poplevel () at pt.c:2347
    #13 0x93870 in yyparse () at parse.y:3280
    #14 0xe0080 in compile_file (name=0xeffff565 "SpeechFeature.ii") at toplev.c:2486
    #15 0xe5640 in main (argc=13, argv=0xeffff37c, envp=0xeffff3b4) at toplev.c:4331
    (gdb) 



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