wrong diagnostic hyperlink in 10.1.0?

Jonathan Wakely jwakely.gcc@gmail.com
Mon Jun 1 19:07:05 GMT 2020


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.


More information about the Gcc-help mailing list