https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29366

--- Comment #6 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Created attachment 34478
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34478&action=edit
proposed workaround patch

There hasn't been any update for PR 53579.  I'd like to propose the attached
patch as a work around until the CXXFLAGS_FOR_TARGET issues has been
figured/sorted out.
The patch works on a default sh-elf/newlib config -- it just uses the
single-thread fake atomics from libstdc++.  Kaz, could you please try the patch
on sh4-linux?

Reply via email to