This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Provide a can_compare_and_swap_p target hook.


On 11/04/2014 05:28 PM, Andrew MacLeod wrote:
> + bool 
> + default_can_compare_and_swap_p (machine_mode mode, bool allow_libcall)
> + {
> +   return can_compare_and_swap_p (mode, allow_libcall);
> + }

This is silly.  I think the problem you point out can be better fixed by moving
the can_compare_and_swap_p prototype elsewhere.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]