public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Xi Ruoyao <xry111@mengyan1223.wang>
To: Jonathan Wakely <jwakely.gcc@gmail.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: wrong diagnostic hyperlink in 10.1.0?
Date: Tue, 02 Jun 2020 11:43:35 +0800	[thread overview]
Message-ID: <d48c865135c239c6fe33efa36713fccaa2c5999f.camel@mengyan1223.wang> (raw)
In-Reply-To: <CAH6eHdTVLUmT+VypV-e0do0Zj+kwb+Q=DMTxexzzyZSdcJEQJw@mail.gmail.com>

On 2020-06-01 20:07 +0100, Jonathan Wakely wrote:
> On Mon, 1 Jun 2020 at 17:30, Xi Ruoyao via Gcc-help
> <gcc-help@gcc.gnu.org> wrote:
> > Let's try a stupid code snip:
> > 
> > $ 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
> > 
> > Is this issue reported?  I tried to search in bugzilla but didn't find one.
> 
> I don't think it's in bugzilla yet. Could you report it please? Thanks.

It's reported as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95472.
-- 
Xi Ruoyao <xry111@mengyan1223.wang>
School of Aerospace Science and Technology, Xidian University


  reply	other threads:[~2020-06-02  3:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-01 16:26 Xi Ruoyao
2020-06-01 19:07 ` Jonathan Wakely
2020-06-02  3:43   ` Xi Ruoyao [this message]
2020-06-02  6:14     ` Jonathan Wakely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d48c865135c239c6fe33efa36713fccaa2c5999f.camel@mengyan1223.wang \
    --to=xry111@mengyan1223.wang \
    --cc=gcc-help@gcc.gnu.org \
    --cc=jwakely.gcc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).