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

--- Comment #11 from Patrick O'Neill <patrick at rivosinc dot com> ---
I can confirm that your fix does *not* break the testsuite on little endian.

We also recently added inline subword atomics to GCC 13, will this code also
need to change for big endian?

Trunk:
https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/config/riscv/riscv.cc;h=09fc9e5d95e611f94bc05b4851fef6f50a651c28;hb=HEAD#l7439

GCC-13 branch:
https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/config/riscv/riscv.cc;h=5f44f6dc5c9c4ad2416e4195570473ab49c2e535;hb=6506590e70e57ed8d7fb68ab9443e31c31208fb0#l7146

Reply via email to