https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89835
Jim Wilson <wilson at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2019-03-27
CC| |wilson at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #2 from Jim Wilson <wilson at gcc dot gnu.org> ---
The RISC-V atomic support in gcc needs a major rewrite. We don't support the
RISC-V formal memory model yet, and we don't support inline sub-word atomic
operations yet. Meanwhile, you shouldn't expect anything to be optimized until
this can be fixed. Fixing all of this stuff will be a major project, and it
isn't clear when anyone will have time to do it.