[PATCH][RFC] Remove volatile from data members in libstdc++

Benjamin Kosnik bkoz@redhat.com
Tue Jul 11 17:20:00 GMT 2006


> Well, I raised this topic (again) because _if_ the volatiles are there
> for a (wrong) reason, there are latent bugs in the allocators and rope.

The mt_allocator.h parts of the patch should go in.

Can you work up a patch for rope, ie _M_ref_count as atomic, using the
atomicity.h bits?

-benjamin



More information about the Libstdc++ mailing list