This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: invalid delayed slot filling
Christian BRUEL <christian.bruel@st.com> writes:
> But, alternatively, checking `end_of_function_needs` in
> `mark_target_live_regs` would seem to respect the fact that the
> register is live because it is used after the function call (at the
> end of the current function) ?
I'm not sure just what you are proposing. mark_target_live_regs does
use end_of_function_needs in the places where I would expect: at the
end of a function and at a return statement. Otherwise it uses the
registers live at the start of a basic block, and then walks through
the block computing them. That all looks right to me.
Perhaps I should ask: why is the register considered to be dead?
Ian