Re: [PATCH, libgfortran] Replace sync builtins with atomic builtins

2018-11-09 Thread Jakub Jelinek
On Fri, Nov 09, 2018 at 01:13:28PM +0200, Janne Blomqvist wrote: > The old __sync builtins have been deprecated for a long time now in > favor of the __atomic builtins following the C++11/C11 memory model. > This patch converts libgfortran to use the modern __atomic builtins. > > At the same time

[PATCH, libgfortran] Replace sync builtins with atomic builtins

2018-11-09 Thread Janne Blomqvist
The old __sync builtins have been deprecated for a long time now in favor of the __atomic builtins following the C++11/C11 memory model. This patch converts libgfortran to use the modern __atomic builtins. At the same time I weakened the consistency to acquire-release as that should be enough for