On 11/16/2011 12:10 PM, Andrew MacLeod wrote:
>
>
> * builtins.c (expand_builtin): Remove 4th parameter representing
> weak/strong mode when __atomic_compare_exchange becomes a library call.
>
> testsuite
> * gcc.dg/atomic-generic-aux.c (__atomic_compare_exchange): Fail
__atomic_compare_exchange has 6 parameters of which one is a boolean
indicating whether its the weak or strong variation.
The external library doesn't bother with the weak condition, so it only
has 5 parameters. When generating the external call for the size
specific __atomic_compare_exchange