On Wed, Apr 25, 2018 at 10:41 PM, Andreas Tobler <andreast-l...@fgznet.ch> wrote: > Hi all, > > I'm going to commit this patch to all active branches as soon as the branch > status permits. > Built and tested on native armv5 FreeBSD12.
If you think it is safe then it's fine for gcc-8-branch now. Richard. > Thanks, > Andreas > > 2018-04-25 Andreas Tobler <andre...@gcc.gnu.org> > Maryse Levavasseur <maryse.levavass...@stormshield.eu> > > PR libgcc/84292 > * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the > op_and_fetch to return the right result.