Re: [Ada] Optimization of the Lock-free implementation of protected object

2012-07-16 Thread Arnaud Charlet
> http://gcc.gnu.org/ml/gcc-cvs/2012-07/msg00341.html > > This breaks ada bootstrap on powerpc-darwin9 with : > Undefined symbols: > "___sync_val_compare_and_swap_8", referenced from: > _system__atomic_primitives__lock_free_try_write_64 in > s-atopri.o > "___atomic_load_8", refere

Re: [Ada] Optimization of the Lock-free implementation of protected object

2012-07-16 Thread Iain Sandoe
Hello Arnaud, On 12 Jul 2012, at 11:43, Arnaud Charlet wrote: > The optimization of the expansion of protected procedure for the lock-free > implementation brings the following changes: > - Several renamings in order to match GCC built-in function wordings. > - Expected_Comp declaration moved to

[Ada] Optimization of the Lock-free implementation of protected object

2012-07-12 Thread Arnaud Charlet
The optimization of the expansion of protected procedure for the lock-free implementation brings the following changes: - Several renamings in order to match GCC built-in function wordings. - Expected_Comp declaration moved to the the declarations list of the procedure - GCC built-in operation__syn