wrong diagnostic hyperlink in 10.1.0?

Xi Ruoyao xry111@mengyan1223.wang
Tue Jun 2 03:43:35 GMT 2020


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



More information about the Gcc-help mailing list