[cxx-mem-model] Change library call for __atomic_op_fetch routines

Andrew MacLeod amacleod@redhat.com
Wed Oct 26 17:37:00 GMT 2011


On 10/26/2011 01:19 PM, Richard Henderson wrote:
>
>> !    resolved to an instriction sequence.  */
> "instruction"
no no, its a mashup of "restricted instruction".
ok, maybe not.
>> !   gcc_assert (TREE_OPERAND (addr, 0) == fndecl);
>> !   TREE_OPERAND (addr, 0) = builtin_decl_explicit(ext_call);
> I do wonder if we ought not put the original back after the expand.
hum. I suppose that wouldn't hurt.  I don't think it should make any 
difference since Im not modifying whats in the table, but I can give it 
a shot. If it bootstraps, which I presume it will, I'll  check it in 
with the original decl replaced.

Andrew



More information about the Gcc-patches mailing list