http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60452

--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> But what would be safe positive/negative offsets from frame_pointer?
> I mean, e.g. size of arguments is not included in the frame size, so size of
> arguments would need to be taken into account too, plus does the middle-end
> really know all the biases etc.?

No, that would be either conservative or not bullet-proof, at least if used
alone.  Maybe compare MEM_OFFSET and get_frame_size and return true if the
former is larger than the latter.  Why do we drop the MEM_EXPR if the DECL_RTL
is a reg?

Reply via email to