My inline assembly has the cooties.

Marco Manfredini mldb@gmx.net
Thu Nov 15 22:27:00 GMT 2007


On Thursday 15 November 2007 19:33, David Daney wrote:
> Marco Manfredini wrote:
> > Hi,
> > The first thing I always realize when I return to code with inline
> > assembly is, that I forgot the dodgy intricacies again. Today I seem to
> > suffer from paralytic blindness. Could someone please enlighten me, why
> > this program prints 20 with gcc 4.2.2 and 1010 with gcc-3.4.4?
>
> I give up.  Is it because you didn't declare %0 as an early clobber?

ZOMG YES!! Thank you, David.





More information about the Gcc-help mailing list