strange compiling problem

Andrew Pinski pinskia@physics.uc.edu
Sun Sep 7 15:34:00 GMT 2003


On Sunday, Sep 7, 2003, at 08:22 US/Pacific, Jamie Lokier wrote:

> I'm just making a guess from Jim's reply; I haven't tried it.  Try 
> this:
>
> 	:"=m"(*&ra)
> 	:"0"(*&ra), "m"(*&rb)


Even better, I think this is where the problem is any way:
	:"+m"(*&ra)
	: "m"(*&rb)

And change all %2 to %1 and %1 to %0.
Note the + means that ra is being read from and written to.
Almost every one wants to write it as the way you had it
though for some reason.

Thanks,
Andrew Pinski



More information about the Gcc mailing list