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: RFA: Fix for compile/20010903-1.c regressions


On Tue, Jul 30, 2002 at 11:17:37AM +0100, Joern Rennecke wrote:
> If the code starts out shared, it is kept shared and hence, identical.

Well, yes and no.  There is no constraint that the destination 
memory and the source memory of an asm must be shared.  Yet
that is how you got things to work.

I'd been thinking a simpler solution than writing a new function
to properly unshare asms would be to use copy_insn (i.e. create
an entirely new rtl hunk), which does know about the sharing
requirement of asms and would preserve them properly.  Except
that that didn't solve the problem.


r~


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