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]

Re: [new-regalloc] What is the status on current sources


Daniel, something seems to be quit broken now, as I can't compile
the library anymore. Can you tell me what the current status of the
work is, like what kind of problems you know of, on what things you're
currently working and where you'd like to get some help.

Below is how far I get with the current version of the branch.
It seems to be the same problem again of dereferencing a null-pointer
in ra_reg_info which is null. I'm still not quite clear of what the
exact set of registers is that gets initialized, exactly why the
current situation is supposed to be impossible. It would nice to
add some comments about this to the code.

  -Geert


./xgcc -B./ -B/usr/local/athlon-pc-linux-gnu/bin/ -isystem /usr/local/athlon-pc-linux-gnu/include  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include  -g0 \
  -finhibit-size-directive -fno-inline-functions \
  -fno-exceptions -fPIC  \
  -c ../../gcc/gcc/crtstuff.c -DCRT_BEGIN -DCRTSTUFFS_O \
  -o crtbeginS.o
../../gcc/gcc/crtstuff.c: In function `frame_dummy':
../../gcc/gcc/crtstuff.c:240: Internal error: Segmentation fault

Program received signal SIGSEGV, Segmentation fault.

0x826683d in add_edge (v1=17, v2=4) at ../../gcc/gcc/new-regalloc.c:636
636               SET_REGNO_REG_SET (ra_reg_info[v2]->adj_list, v1);
(gdb) bt
#0  0x826683d in add_edge (v1=17, v2=4) at ../../gcc/gcc/new-regalloc.c:636
#1  0x826b3b1 in perform_new_regalloc_init ()
    at ../../gcc/gcc/new-regalloc.c:1708
#2  0x826b860 in init_new_regalloc () at ../../gcc/gcc/new-regalloc.c:1784
#3  0x8090430 in rest_of_compilation (decl=0x40294f70)
    at ../../gcc/gcc/toplev.c:3411
#4  0x805f6a5 in c_expand_body (fndecl=0x40294f70, nested_p=0)
    at ../../gcc/gcc/c-decl.c:6724
#5  0x805f4cf in finish_function (nested=0) at ../../gcc/gcc/c-decl.c:6645
#6  0x804a7e9 in yyparse_1 () at c-parse.y:323
#7  0x804ef60 in yyparse () at ../../gcc/gcc/c-lex.c:157
#8  0x808ef81 in compile_file (name=0x8344cf1 "../../gcc/gcc/crtstuff.c")
    at ../../gcc/gcc/toplev.c:2375
#9  0x8092b2d in main (argc=98, argv=0xbffff334) at ../../gcc/gcc/toplev.c:4831
#10 0x400329cb in __libc_start_main (main=0x80923fc <main>, argc=98, 
    argv=0xbffff334, init=0x8049188 <_init>, fini=0x82785d8 <_fini>, 
    rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffff32c)
    at ../sysdeps/generic/libc-start.c:92







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