[Gc] Small fix for AO_compiler_barrier (for VC++)

Ivan Maidanski ivmai at mail.ru
Fri May 15 09:29:15 PDT 2009


Hi!

"intrin.h" is included before using _ReadWriteBarrier (only for VC++). It happens that "intrin.h" is not needed here if "-O" compiler switch is used.

In fact, this fix is for my patch "diff29":
http://permalink.gmane.org/gmane.comp.programming.garbage-collection.boehmgc/2447

Bye.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff80
Type: application/octet-stream
Size: 644 bytes
Desc: not available
Url : http://napali.hpl.hp.com/pipermail/gc/attachments/20090515/152f3abe/diff80.obj


More information about the Gc mailing list