freebsd-atomic.c
9.42 KB
-
re PR libgcc/84292 (__sync_add_and_fetch returns the old value instead of the new value) · 8f479d7a
2018-04-27 Andreas Tobler <andreast@gcc.gnu.org> Maryse Levavasseur <maryse.levavasseur@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. Co-Authored-By: Maryse Levavasseur <maryse.levavasseur@stormshield.eu> From-SVN: r259722
Andreas Tobler committed