This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/34171] [4.3 Regression] Segfault in df_chain_remove_problem with -O3 on alpha
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Nov 2007 18:11:34 -0000
- Subject: [Bug rtl-optimization/34171] [4.3 Regression] Segfault in df_chain_remove_problem with -O3 on alpha
- References: <bug-34171-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from tbm at cyrius dot com 2007-11-21 18:11 -------
(In reply to comment #8)
> Martin, can you go up to frame #4, and do "print *pass" in gdb? Thanks.
You mean in execute_one_pass, right?
Breakpoint 4, execute_one_pass (pass=0x1208c51b8) at gcc/passes.c:1065
1065 current_pass = pass;
(gdb) print *pass
$1 = {name = 0x1207c2e7e "useless", gate = 0,
execute = 0x1203a57a0 <remove_useless_stmts>,
sub = 0x0, next = 0x120896890, static_pass_number = 12,
tv_id = 0, properties_required = 1,
properties_provided = 0, properties_destroyed = 0,
todo_flags_start = 589824,
todo_flags_finish = 1, letter = 0 '\0'}
(gdb)
(gdb) c
Continuing.
Breakpoint 3, execute_one_pass (pass=0x1208c51b8) at gcc/passes.c:1140
1140 execute_todo (todo_after | pass->todo_flags_finish);
(gdb) print *pass
$2 = {name = 0x1207c2e7e "useless", gate = 0,
execute = 0x1203a57a0 <remove_useless_stmts>,
sub = 0x0, next = 0x120896890, static_pass_number = 12,
tv_id = 0, properties_required = 1,
properties_provided = 0, properties_destroyed = 0,
todo_flags_start = 589824,
todo_flags_finish = 1, letter = 0 '\0'}
(gdb)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34171