public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/114951] New: Incorrect documentation link emitted for warning options ending in =
@ 2024-05-05 20:04 peter0x44 at disroot dot org
  2024-05-05 20:11 ` [Bug other/114951] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: peter0x44 at disroot dot org @ 2024-05-05 20:04 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 114951
           Summary: Incorrect documentation link emitted for warning
                    options ending in =
           Product: gcc
           Version: 13.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: peter0x44 at disroot dot org
  Target Milestone: ---

For the following code:

#include <stdio.h>

int main(void) { printf("%f", 1); }

GCC generates a warning with the following link:

https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=

That does not properly link to the correct paragraph in the documentation.

Removing the = works:
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat

or, encoding = as _003d:
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat_003d

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

* [Bug other/114951] Incorrect documentation link emitted for warning options ending in =
  2024-05-05 20:04 [Bug other/114951] New: Incorrect documentation link emitted for warning options ending in = peter0x44 at disroot dot org
@ 2024-05-05 20:11 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-05-05 20:11 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |14.0

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This looks to be fixed in GCC 14 (most likely by r14-6921-g5bb18475a10d05) .

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

end of thread, other threads:[~2024-05-05 20:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-05 20:04 [Bug other/114951] New: Incorrect documentation link emitted for warning options ending in = peter0x44 at disroot dot org
2024-05-05 20:11 ` [Bug other/114951] " pinskia 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).