RFA: Fix for compile/20010903-1.c regressions

Richard Henderson rth@redhat.com
Tue Jul 30 09:43:00 GMT 2002


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~



More information about the Gcc-patches mailing list