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: Fix latent bug in __expand_buitin_nonlocal_goto


On Sun, Jun 22, 2008 at 6:34 PM, Jan Hubicka <jh@suse.cz> wrote:
> Yes, that would work too.  I didn't know some targets actually require
> MEM exrepssion here.
> Could you test if it solves PPC problem?

And it does.  Here is the patch which I bootstrapped and tested on
powerpc64-linux-gnu with no regressions and all the nonlocal label
tests now pass.

OK?

Thanks,
Andrew Pinski

ChangeLog:
PR middle-end/36594
* builtins.c (expand_builtin_nonlocal_goto): Stabilize the address of the
memory instead of the memory itself for the save area.

Attachment: fixnonlocal.diff.txt
Description: Text document


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