https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98437
Bug ID: 98437
Summary: confusing wording in the description of option
-fsanitize=address
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: linkw at gcc dot gnu.org
Target Milestone: ---
As Qingnan's question[1] in the mail list gcc-help, the last part in the
current description of option -fsanitize=address looks confusing. Manual users
are easy to misunderstand the below wording
"Note that the only target this option is currently supported on is
AArch64."
is specific for option -fsanitize=address. But it's intended to note the
option -fsanitize=hwaddress which can not be combined with option
-fsanitize=address.
Both hook TARGET_MEMTAG_CAN_TAG_ADDRESSES and commit r11-5375 shows only option
-fsanitize=hwaddress is aarch64 specific.
[1] https://gcc.gnu.org/pipermail/gcc-help/2020-December/139745.html