This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix errorneous code generation in sjlj_mark_call_sites
- From: Richard Henderson <rth at redhat dot com>
- To: Momchil Velikov <velco at fadata dot bg>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 21 Jan 2002 14:53:26 -0800
- Subject: Re: [PATCH] Fix errorneous code generation in sjlj_mark_call_sites
- References: <87wuyglme3.fsf@fadata.bg>
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~