This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix errorneous code generation in sjlj_mark_call_sites


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]