From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1BDDE3840C38; Tue, 2 Jun 2020 03:42:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1BDDE3840C38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1591069334; bh=0c6V1aXjWrVrnBU4VwauM+MKmZ8DAWse9q/C1nHIpU0=; h=From:To:Subject:Date:From; b=QOxBLmcK2B92hUdFQRGf1rWDZsWHVLHzA/iBtZixZxlHNdLoJHOJbrmoJFUUYnBiX N33HvlRSJCsxUnfEPKW7oWS1QJqC2MKgRUGPr/HXCmdJcQvZNX9ekUUuVDUky4Z4FY Wo3hrm8N5Ou8/k3gjj4O37kIbCojVjQsnA2M7eC4= From: "xry111 at mengyan1223 dot wang" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/95472] New: various diagnostics for C/C++ hyperlinks to gfortran doc Date: Tue, 02 Jun 2020 03:42:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 10.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: xry111 at mengyan1223 dot wang X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2020 03:42:14 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95472 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 [-Wuninitiali= zed] 4 | return x; | ^ It looks OK, but in GCC-10 we have diagnostics with hyperlink. If you clic= k "- Wuninitialized" you'll be diverted to gfortran doc: https://gcc.gnu.org/onlinedocs/gfortran/Error-and-Warning-Options.html#inde= x-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 -Wfor= mat or -Wimplicit-function-declaration etc.=