egcs sig 11 error

Jeffrey A Law law@cygnus.com
Sat Sep 12 12:57:00 GMT 1998


  In message < 3.0.5.32.19980912090300.007a2d80@daedalus.hsys.com.au >you write:
  > The following is the output of the debug session:
  > 
  > Program received signal SIGSEGV, Segmentation fault.
  > 0x8126f8a in reload (first=0x81c92e4, global=1, dumpfile=0x0)
  >     at ../../gcc/reload1.c:1340
  > 1340                          in_max = MAX (in_max,
  > insn_needs.in_addr[j].groups[i]);
  > 6: &insn_needs.in_addr[j].groups[i] = (int *) 0xbfffd614
  > 5: insn_needs.in_addr[j].groups[i] = 0
  > 4: in_max = 0
  > 3: reload_n_operands = 1
  > 2: j = 0
  > 1: i = 0
  > (gdb) bt
  > #0  0x8126f8a in reload (first=0x81c92e4, global=1, dumpfile=0x0)
  >     at ../../gcc/reload1.c:1340
  > #1  0x8119849 in global_alloc (file=0x0) at ../../gcc/global.c:587
  > #2  0x80669b9 in rest_of_compilation (decl=0x81ef268)
  >     at ../../gcc/toplev.c:3723
  > #3  0x805748e in finish_function (nested=0) at ../../gcc/c-decl.c:7182
  > #4  0x8049897 in yyparse () at c-parse.y:349
  > #5  0x8065522 in compile_file (name=0xbffffc96 "crtstuff.i")
  >     at ../../gcc/toplev.c:2768
  > #6  0x80680f3 in main (argc=7, argv=0xbffffb10, envp=0xbffffb30)
  >     at ../../gcc/toplev.c:4838
  > #7  0x804908e in _start ()
  > 
  > 
  > I had expected an out-of-bounds condition but from the debug, everything
  > seems ok.  I will try to roll back to an egcs-1.0.2 build and see what
  > happens when I build egcs-1.1a with that.
Quite odd.  Is the first stage being built with optimization?  If so
the segfault could actually be for one of the other nearby accesses.

jeff



More information about the Gcc-bugs mailing list