This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Recent ifcvt.c patch causing SIGSEV in ifvgt.c?
- From: Graham Stott <graham dot stott at btinternet dot com>
- To: gcc-bugs at gcc dot gnu dot org, bernds at redhat dot com
- Date: Sun, 21 Jul 2002 19:55:28 +0100
- Subject: Recent ifcvt.c patch causing SIGSEV in ifvgt.c?
All,
Anyone getting seeing SIGSEG's in ifcvt.c bootstrapping current CVS on x86?
I get a SIGSEG compiling _cmpdi2.o from libgcc2.c on i686-pc-linux-gnu with the stage1 compiler.
#0 0x08a48112 in block_has_only_trap (bb=0x0) at /gcc3.2/gcc/gcc/ifcvt.c:2578
2578
if (bb->succ)
(gdb) bt
#0 0x08a48112 in block_has_only_trap (bb=0x0) at /gcc3.2/gcc/gcc/ifcvt.c:2578
#1 0x08a47912 in find_cond_trap (test_bb=0x8d5cca8, then_edge=0x8d5d0b8, else_edge=0x8d5d090) at /gcc3.2/gcc/gcc/ifcvt.c:2479
#2 0x08a46b26 in find_if_header (test_bb=0x8d5cca8, pass=1) at /gcc3.2/gcc/gcc/ifcvt.c:2150
#3 0x08a49e04 in if_convert (x_life_data_ok=0) at /gcc3.2/gcc/gcc/ifcvt.c:3130
#4 0x08898618 in rest_of_compilation (decl=0x40303af0) at /gcc3.2/gcc/gcc/toplev.c:2999
#5 0x080723d9 in c_expand_body (fndecl=0x40303af0, nested_p=0, can_defer_p=1) at /gcc3.2/gcc/gcc/c-decl.c:6882
#6 0x08071f1b in finish_function (nested=0, can_defer_p=1) at /gcc3.2/gcc/gcc/c-decl.c:6753
#7 0x0804a6e5 in yyparse () at c-parse.y:403
#8 0x08056588 in c_common_parse_file (set_yydebug=0) at /gcc3.2/gcc/gcc/c-lex.c:165
#9 0x0889620b in compile_file () at /gcc3.2/gcc/gcc/toplev.c:2105
#10 0x0889c6c3 in do_compile (no_backend=0) at /gcc3.2/gcc/gcc/toplev.c:5253
#11 0x0889c72f in toplev_main (argc=41, argv=0xbfffd884) at /gcc3.2/gcc/gcc/toplev.c:5285
#12 0x080c4cc6 in main (argc=41, argv=0xbfffd884) at /gcc3.2/gcc/gcc/main.c:35
#13 0x40048647 in __libc_start_main (main=0x80c4ca4 <main>, argc=41, ubp_av=0xbfffd884, init=0x8048f54 <_init>, fini=0x8b14ef0 <_fini>,
rtld_fini=0x4000dcd4 <_dl_fini>, stack_end=0xbfffd87c) at ../sysdeps/generic/libc-start.c:129
This all worked yesterday so I suspect the recent ifcvt.c patch.
Cheers
Graham