https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119458
--- Comment #3 from Tymi <tymi at tymi dot org> --- (In reply to Richard Biener from comment #2) > I think this works as designed, sub vs. dec is a target tuning decision. > I'm not sure whether atomics should behave special in any way here. Hmm yea, and since -mtune fixes the issue, I think it's fine.. ..though -fauto-inc-dec should include it as well :/