This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] On targets without setup for cfa_base_rtx don't try to replace sp/hfp (PR target/45250, take 2)
On 10/27/2010 05:22 PM, Jakub Jelinek wrote:
> PR target/45250
> * var-tracking.c (cfa_base_rtx): Move definition earlier in the file.
> (cfa_base_offset): New variable.
> (compute_cfa_pointer): Use cfa_base_rtx and cfa_base_offset.
> (adjust_mems): Don't do any sp or hfp replacements if cfa_base_rtx
> is NULL.
> (vt_init_cfa_base): Initialize cfa_base_offset.
Ok.
r~