https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122078
--- Comment #6 from Federico Terraneo <fede.tft at miosix dot org> --- I tested and the problem is present also in the latest GCC, 15.2. In the previous post I provided an updated patch to resolve the issue, by providing the __atomic_test_and_set symbol in libatomic, implemented in terms of __atomic_test_and_set_1, also provided by libatomic. Can someone review this patch?
