This is the mail archive of the gcc@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: strange compiling problem



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


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