From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) by sourceware.org (Postfix) with ESMTPS id 9F4853870852 for ; Tue, 2 Jun 2020 06:14:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9F4853870852 Received: by mail-il1-x134.google.com with SMTP id v11so11821649ilh.1 for ; Mon, 01 Jun 2020 23:14:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=M2RRCE5OMjcHWkD92i6VX4mNeN+TmOUp52dh6JRiZpM=; b=lEneu3dnhGASBRs+O+61DUcvh8/057OGkzrsWsuwN7IjCGThYdBPBsAYffwxH6ceTZ /oGAAh4tMMUGeLAhqcFpmuYzM44lBt4oDXaNFZvrNb1TVmLpFaymIvg/AKWXBrChps6P X9k/4rIGBhDMeym+n8utlw0jqMffCJHnKq7ic6qhociHPKaOP6mgZmBn80s7I7vlXXxt 2+4X70JsRZy6ByPmEnk9s0vBVqn4d2k8MwNyutZEa+F40oDZx4nIg8Bz0uL4jaIXaRQm Ui7RbTPgBB2FDGCE5aTJMWzFsY6DTPjmbDE06zb0niZL0vShJUKXzROLCedF31xp0Eqm EZbA== X-Gm-Message-State: AOAM53304n0JQXDnZCfxxMSE1T5yHT4qeYQF32SPJZglnfGYLu6oFgZR T6k2fgVrJDp7tIFRhF9V+0nKKVgBZRWMicbJvDlcYQ== X-Google-Smtp-Source: ABdhPJyPOT/bO96tMtPtz3SmaLwlui1cbCUxulY1m69vpptJydBfSn4y+wVo1UDl6LiUNILO5p/uwRcT03hTKedSc5Q= X-Received: by 2002:a92:5ac2:: with SMTP id b63mr20289591ilg.134.1591078459891; Mon, 01 Jun 2020 23:14:19 -0700 (PDT) MIME-Version: 1.0 References: <12556ded07da16de4ba9a84c77dd9916cbacbbb4.camel@mengyan1223.wang> In-Reply-To: From: Jonathan Wakely Date: Tue, 2 Jun 2020 07:14:08 +0100 Message-ID: Subject: Re: wrong diagnostic hyperlink in 10.1.0? To: gcc-help Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2020 06:14:22 -0000 On Tue, 2 Jun 2020 at 04:43, Xi Ruoyao wrote: > > On 2020-06-01 20:07 +0100, Jonathan Wakely wrote: > > On Mon, 1 Jun 2020 at 17:30, Xi Ruoyao via Gcc-help > > 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. Great, thanks.