public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/98437] New: confusing wording in the description of option -fsanitize=address
@ 2020-12-24 11:31 linkw at gcc dot gnu.org
  2021-01-04  7:21 ` [Bug other/98437] " marxin at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: linkw at gcc dot gnu.org @ 2020-12-24 11:31 UTC (permalink / raw)
  To: gcc-bugs

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug other/98437] confusing wording in the description of option -fsanitize=address
  2020-12-24 11:31 [Bug other/98437] New: confusing wording in the description of option -fsanitize=address linkw at gcc dot gnu.org
@ 2021-01-04  7:21 ` marxin at gcc dot gnu.org
  2021-01-04 12:06 ` cvs-commit at gcc dot gnu.org
  2021-01-04 12:38 ` marxin at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-01-04  7:21 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2021-01-04
     Ever confirmed|0                           |1
                 CC|                            |marxin at gcc dot gnu.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug other/98437] confusing wording in the description of option -fsanitize=address
  2020-12-24 11:31 [Bug other/98437] New: confusing wording in the description of option -fsanitize=address linkw at gcc dot gnu.org
  2021-01-04  7:21 ` [Bug other/98437] " marxin at gcc dot gnu.org
@ 2021-01-04 12:06 ` cvs-commit at gcc dot gnu.org
  2021-01-04 12:38 ` marxin at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-01-04 12:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Matthew Malcomson <matmal01@gcc.gnu.org>:

https://gcc.gnu.org/g:7f2b73175666f678adbf007907c7aa2661284bd3

commit r11-6441-g7f2b73175666f678adbf007907c7aa2661284bd3
Author: Matthew Malcomson <matthew.malcomson@arm.com>
Date:   Mon Jan 4 12:06:27 2021 +0000

    docs: Fix wording describing the hwaddress sanitizer

    The original documentation added to mention the clash between
    -fsanitize=address and -fsanitize=hwaddress used confusing wording trying
    to say that -fsanitize=hwaddress is only available on AArch64.

    It read as if -fsanitize=address were only supported on AArch64.

    This patch fixes that wording by being more explicit.

    gcc/ChangeLog:

            PR other/98437
            * doc/invoke.texi (-fsanitize=address): Fix wording describing
            clash with -fsanitize=hwaddress.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug other/98437] confusing wording in the description of option -fsanitize=address
  2020-12-24 11:31 [Bug other/98437] New: confusing wording in the description of option -fsanitize=address linkw at gcc dot gnu.org
  2021-01-04  7:21 ` [Bug other/98437] " marxin at gcc dot gnu.org
  2021-01-04 12:06 ` cvs-commit at gcc dot gnu.org
@ 2021-01-04 12:38 ` marxin at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-01-04 12:38 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-04 12:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-24 11:31 [Bug other/98437] New: confusing wording in the description of option -fsanitize=address linkw at gcc dot gnu.org
2021-01-04  7:21 ` [Bug other/98437] " marxin at gcc dot gnu.org
2021-01-04 12:06 ` cvs-commit at gcc dot gnu.org
2021-01-04 12:38 ` marxin at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).