This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH]: Nullify name and letter field of pass_stack_regs struct
- From: "Uros Bizjak" <ubizjak at gmail dot com>
- To: "GCC Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 11 Jul 2007 15:25:04 +0200
- Subject: [PATCH]: Nullify name and letter field of pass_stack_regs struct
Hello!
Probably this just slipped through, but with -da flag, we get double
"stack" RTL dumps. Attached patch fixes this by nullifying name and
letter field of pass_stack_regs struct.
Patch was bootstrapped and regtested on i686-pc-linux-gnu. OK for mainline?
2007-07-11 Uros Bizjak <ubizjak@gmail.com>
* reg-stack.c (struct tree_opt_pass pass_stack_regs): Nullify name
and letter field.
Uros.
Index: reg-stack.c
===================================================================
--- reg-stack.c (revision 126547)
+++ reg-stack.c (working copy)
@@ -3203,7 +3203,7 @@ gate_handle_stack_regs (void)
struct tree_opt_pass pass_stack_regs =
{
- "stack", /* name */
+ NULL, /* name */
gate_handle_stack_regs, /* gate */
NULL, /* execute */
NULL, /* sub */
@@ -3215,7 +3215,7 @@ struct tree_opt_pass pass_stack_regs =
0, /* properties_destroyed */
0, /* todo_flags_start */
0, /* todo_flags_finish */
- 'k' /* letter */
+ 0 /* letter */
};
/* Convert register usage from flat register file usage to a stack