This is the mail archive of the gcc-patches@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]

Fix for PR 5594


ChangeLog Entry
==============
libstdc++-v3/config/cpu/m68k/bits/atomicity.h:
	Use `Interrupt Disable' instead of `TAS/JBNE' for processors which 
lack the CAS instruction on strict-priority operating systems such as 
RTEMS  since the TAS/JBNE technique can lead to infinite loops.

I've attached a patch against the latest version from the CVS repository 
as well as the complete source file.

Attachment: atomPatch
Description: Binary data

Attachment: atomicity.h
Description: Text document



--
Eric Norum  <eric.norum@usask.ca>


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