https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104338
--- Comment #19 from rvalue <i at rvalue dot moe> --- (In reply to Aurelien Jarno from comment #18) > I wonder if the following patch should also be backported, as it > doesn't make sense to link with -latomic anymore with inline subword atomic > operations Agreed. It's now meaningless to keep this workaround for RISC-V as the problem has been resolved.