[cxx-mem-model] Rename __sync_mem to __atomic

Andrew MacLeod amacleod@redhat.com
Fri Oct 14 18:33:00 GMT 2011


In order to align with a standard naming convention, this patch renames 
all the __sync_mem references to __atomic.

The only real addition is in builtins.c::is_builtin_name needed to know 
that __atomic_ is also a builtin prefix.

I didn't include the testsuite changes since they are HUGE, and very 
rote...  they also included renaming all the sync-mem-* test file names 
to atomic-*

bootstrapped on x86_64-unknown-linux-gnu and no new regressions.

Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rename.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20111014/0e6a22bf/attachment.ksh>


More information about the Gcc-patches mailing list