Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Solaris10/SPARC: atomic_cmpset_64 broken
From: Nicolai Stange (nicolai.stange_at_[hidden])
Date: 2010-11-13 08:40:14


Hi everybody,

gcc 4.5.1 with -O2 optimizes the 'ret = newval' away because %0 is
declared as being write only.
Fix is attached.

Regards

Nicolai