Re: [PATCH 0/4][CFT] Handle legacy __sync libcalls

2011-11-12 Thread Richard Henderson
On 11/12/2011 07:56 AM, Richard Henderson wrote: On 11/11/2011 07:39 PM, Kaz Kojima wrote: It seems that expand_builtin sets target variable to const0_trx when ignore argument is set and this causes the above ICE. I'm trying a patch ... I think the fix belongs in

Re: [PATCH 0/4][CFT] Handle legacy __sync libcalls

2011-11-12 Thread Kaz Kojima
Richard Henderson r...@redhat.com wrote: I think the fix belongs in expand_builtin_compare_and_swap. I'm testing the following. Full test completed on x86_64-linux. I verified that the test you mentioned no longer ICEs on sh4-linux. Committed. Thanks! Regards, kaz

Re: [PATCH 0/4][CFT] Handle legacy __sync libcalls

2011-11-11 Thread Kaz Kojima
Richard Henderson r...@redhat.com wrote: These are the targets that used external __sync calls in gcc 4.6. I've been intending to test them myself, but since these aren't bare *-elf targets, it's taking me some time to get the various cross-environment set up. Port maintainers, please test.