1 Jul 2004 01:58
Remove last_parm_insn
Richard Henderson <rth <at> redhat.com>
2004-06-30 23:58:48 GMT
2004-06-30 23:58:48 GMT
This variable is write-only.
r~
* function.h (struct function): Remove x_last_parm_insn,
inl_last_parm_insn.
(last_parm_insn): Remove.
* function.c (free_after_compilation): Don't clear them.
(fixup_var_refs_insn, assign_parms): Don't set them.
Index: function.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/function.c,v
retrieving revision 1.532
diff -c -p -d -r1.532 function.c
*** function.c 30 Jun 2004 22:30:29 -0000 1.532
--- function.c 30 Jun 2004 23:56:12 -0000
*************** free_after_compilation (struct function
*** 446,457 ****
f->x_tail_recursion_reentry = NULL;
f->x_arg_pointer_save_area = NULL;
f->x_parm_birth_insn = NULL;
- f->x_last_parm_insn = NULL;
f->x_parm_reg_stack_loc = NULL;
f->fixup_var_refs_queue = NULL;
f->original_arg_vector = NULL;
f->original_decl_initial = NULL;
- f->inl_last_parm_insn = NULL;
f->epilogue_delay_list = NULL;
}
(Continue reading)
> Does it bootstrap for you?
Not even close.
Hmm... I'm going to check that it still does for me before I change
anything else. I've heard it doesn't on x86. I'm on x86_64. What
target ar you using?
variable_size would error.
Looking at this more afterward it seems as if I could have set
cfun->x_dont_save_pending_sizes_p and it would have done what I
wanted. I'll probably clean that up soon.
I thought you were talking about *outside* function context?
And ada doesn't set that at all (though I think it clearly should).
RSS Feed