public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/95472] New: various diagnostics for C/C++ hyperlinks to gfortran doc
@ 2020-06-02  3:42 xry111 at mengyan1223 dot wang
  2020-06-02  3:45 ` [Bug middle-end/95472] " xry111 at mengyan1223 dot wang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: xry111 at mengyan1223 dot wang @ 2020-06-02  3:42 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95472
           Summary: various diagnostics for C/C++ hyperlinks to gfortran
                    doc
           Product: gcc
           Version: 10.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: xry111 at mengyan1223 dot wang
  Target Milestone: ---

$ cat t1.c
int main()
{
        int x;
        return x;
}
$ gcc t1.c -Wall
t1.c: In function 'main':
t1.c:4:9: warning: 'x' is used uninitialized in this function [-Wuninitialized]
    4 |  return x;
      |         ^

It looks OK, but in GCC-10 we have diagnostics with hyperlink.  If you click "-
Wuninitialized" you'll be diverted to gfortran doc:

https://gcc.gnu.org/onlinedocs/gfortran/Error-and-Warning-Options.html#index-Wuninitialized

This also happens to -Wreturn-type and -Wuninitialized.  Strangely these two
entries don't even exist in gfortran doc.  But it does not happens to -Wformat
or -Wimplicit-function-declaration etc.

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

end of thread, other threads:[~2020-06-02  8:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-02  3:42 [Bug middle-end/95472] New: various diagnostics for C/C++ hyperlinks to gfortran doc xry111 at mengyan1223 dot wang
2020-06-02  3:45 ` [Bug middle-end/95472] " xry111 at mengyan1223 dot wang
2020-06-02  5:57 ` marxin at gcc dot gnu.org
2020-06-02  6:14 ` xry111 at mengyan1223 dot wang
2020-06-02  8:01 ` rguenth 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).