-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Closed as not planned
Labels
clang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl''clang' and 'clang++' user-facing binaries. Not 'clang-cl'wontfixIssue is real, but we can't or won't fix it. Not invalidIssue is real, but we can't or won't fix it. Not invalid
Description
Arm32/Arm64/LoongArch/MIPSr6/RISCV may disable unaligned memory access with option
-mno-unaligned-access
Currently Arm32/Arm64 predefine __ARM_FEATURE_UNALIGNED
, while LoongArch, RISC-V and MIPSr6 not yet.
Maybe it's time for use to define a more generic predefined macro for this case.
Will __UNALIGN_ACCESS_DISABLED__
be OK?
For GCC, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111555
Metadata
Metadata
Assignees
Labels
clang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl''clang' and 'clang++' user-facing binaries. Not 'clang-cl'wontfixIssue is real, but we can't or won't fix it. Not invalidIssue is real, but we can't or won't fix it. Not invalid