Re: Fwd: [cxx-mem-model] Don't over process __sync_mem parameters.

2011-09-15 Thread Andrew MacLeod
On 09/15/2011 04:35 PM, Richard Henderson wrote: * c-family/c-common.c (sync_resolve_params, sync_resolve_return): Only tweak parameters that are the same type size. (resolve_overloaded_builtin): Use new param for __sync_mem builtins. * testsuite/gcc.dg/sy

Re: Fwd: [cxx-mem-model] Don't over process __sync_mem parameters.

2011-09-15 Thread Richard Henderson
> * c-family/c-common.c (sync_resolve_params, sync_resolve_return): Only > tweak parameters that are the same type size. > (resolve_overloaded_builtin): Use new param for __sync_mem builtins. > > * testsuite/gcc.dg/sync-mem-param.c: New testcase to check correct >

Fwd: [cxx-mem-model] Don't over process __sync_mem parameters.

2011-09-09 Thread Andrew MacLeod
This patch implements a reduced type massaging for the new '__sync_mem' built-in functions, as well as verifying the number of parameters are correct. The gory details from the wiki TODO : The parameters are massaged in c-family/c-common.c::resolve_overloaded_builtin, sync_resolve_re