[PATCH] Fix errorneous code generation in sjlj_mark_call_sites
Richard Henderson
rth@redhat.com
Mon Jan 21 14:56:00 GMT 2002
On Thu, Jan 17, 2002 at 11:04:36PM +0200, Momchil Velikov wrote:
> The call to ``change_address'' in ``sjlj_mark_call_sites'' can
> generate additional instructions in ``LEGITIMIZE_ADDRESS''. These
> instructions are appended at the end of the function, however the
> pseudo-register(s) they set may be used by the ``mem'' rtx, thus
> resulting in access of uninitialized memory/register. The attached
> patch makes sure instructions are emitted before emitting store to
> ``mem''.
Yes. See
2001-09-25 Andrew Haley <aph@cambridge.redhat.com>
* except.c (sjlj_mark_call_sites): Change address inside sequence.
r~
More information about the Gcc-patches
mailing list