michaelh@pavo1:~/linaro/bugs$ ~/toolchains/gcc-linaro-4.5-2010.11-0-armv7l-maverick-cbuild14-pavo3/bin/g++ -O2 -Wall -save-temps -mfpu=neon -c atomic.cc
atomic.cc: In function 'int foo(QBasicAtomicInt&)':
atomic.cc:24:24: error: output number 2 not directly addressable
atomic.cc:24:24: warning: use of memory input without lvalue in asm operand 4 is deprecated
A more complete log:
michaelh@ pavo1:~ /linaro/ bugs$ ~/toolchains/ gcc-linaro- 4.5-2010. 11-0-armv7l- maverick- cbuild14- pavo3/bin/ g++ -O2 -Wall -save-temps -mfpu=neon -c atomic.cc cInt&)' :
atomic.cc: In function 'int foo(QBasicAtomi
atomic.cc:24:24: error: output number 2 not directly addressable
atomic.cc:24:24: warning: use of memory input without lvalue in asm operand 4 is deprecated