This is the mail archive of the gcc-bugs@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]

Re: Does weak work on PPC with -O2?


On Tue, 13 Mar 2001, Franz Sirl wrote:
> > Hey, that's really clever.  I didn't think of using VOLATILE.  It
> > even makes sense...
>
> And it seems to work nicely with the testcase :-). I think I need to use
> FRAME_RELATED as a flag though, cause VOLATIL is already used for
> SYMBOL_REF_FLAG, I overlooked that.

I think you want to make the MEM volatile, not the SYMBOL_REF.  Then you
don't have to modify rtx_addr_can_trap_p.


Bernd


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