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] |
On Wed, Apr 23, 2003 at 03:41:45PM +0800, Jie Zhang wrote:The problem is solved by changing this line into
__asm __volatile ("" : "=m" (*spinlock) : "0" (*spinlock));
Don't use matching constraints on memories.
I should have read the document more carefully :-P Thanks all!
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |