Am 08.02.2014 um 00:19 schrieb Pedro Pinto <pemdpinto@xxxxxxxxx>: > What would be the best way to solve these cases? Should a dummy > arm/arch_atomic.h be created? Another idea would be to implement those with the atomic builtins from GCC for everything except gcc2. This is most likely even faster, as if e.g. the return value is not used, GCC can optimize this. -- Jonathan