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

Sergey V. Lobanov <sergey at lobanov dot in> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Sergey V. Lobanov <sergey at lobanov dot in> ---
Looks like, it's not a bug. It is requires to set -mtune that forces
slow_unaligned_access=false, e.g. -mtune=thead-c90, e.g.
"riscv64-alpine-linux-musl-gcc-15.2.0 -O3 -mno-scalar-strict-align
-mtune=thead-c906 -U_FORTIFY_SOURCE -fno-stack-protector 2.c"

Unfortunately, spacemit vendor doesn't upstream their GCC pathces and doesn't
publish their GCC source code so I have to use their proprietary GCC cross
toolchain

Reply via email to