https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111557
Bug ID: 111557 Summary: [RISC-V] The macro __riscv_unaligned_fast should be __riscv_misaligned_fast Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: lasse.collin at tukaani dot org Target Milestone: --- The RISC-V C API Specification[1] has __riscv_misaligned_fast, __riscv_misaligned_slow, and __riscv_misaligned_avoid. The commit 6e23440b [2] used "unaligned" instead of "misaligned" though. The spelling __riscv_unaligned_* was mentioned in [3] but in [4] it was changed to __riscv_misaligned_*. Clang doesn't have these macros yet but there is a recent pull request[5] that uses the __riscv_misaligned_* spelling. [1] https://github.com/riscv-non-isa/riscv-c-api-doc/blob/master/riscv-c-api.md [2] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=6e23440b5df4011bbe1dbee74d47641125dd7d16 [3] https://github.com/riscv-non-isa/riscv-c-api-doc/issues/32 [4] https://github.com/riscv-non-isa/riscv-c-api-doc/pull/40 [5] https://github.com/llvm/llvm-project/pull/65756