From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 06FD93858D20; Sun, 11 Jun 2023 07:17:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 06FD93858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1686467847; bh=YkmYv4k8t9DErAm+hhIeo2WYZV6Uqk5lFQZVgkmmaEE=; h=From:To:Subject:Date:From; b=HOPW6A0t6g2qwtQwOgOlI2xQt69jXLpsS6N8/bS4me9ZXZsABmDOqaDvJWvq90uIO 9qnXTKtRiB+ZeHH2/7ILhPtGQAwty+vSugsdi6VVCI776Uo/hLdVwJvZRmSULrDG3G 1x3sEzAmauDTTIYJp76xZj31zPGuIYbWnzvc8WSA= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/110205] New: Some new warnings from clang for the range code Date: Sun, 11 Jun 2023 07:17:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110205 Bug ID: 110205 Summary: Some new warnings from clang for the range code Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- I just did a build of gcc trunk with clang. It said ../../trunk.year/gcc/range-op-mixed.h:215:8: warning: 'fold_range' override= s a member function but is not marked 'override' [-Winconsistent-missing-overri= de] ../../trunk.year/gcc/range-op-mixed.h:222:8: warning: 'op1_range' overrides= a member function but is not marked 'override' [-Winconsistent-missing-overri= de] ../../trunk.year/gcc/range-op-mixed.h:229:8: warning: 'op2_range' overrides= a member function but is not marked 'override' [-Winconsistent-missing-overri= de] ../../trunk.year/gcc/range-op-mixed.h:236:8: warning: 'update_bitmask' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] ../../trunk.year/gcc/range-op.cc:169:16: warning: unused variable 'RO_FII' [-Wunused-const-variable] ../../trunk.year/gcc/range-op.cc:2292:8: warning: 'update_bitmask' override= s a member function but is not marked 'override' [-Winconsistent-missing-overri= de] These might be worth fixing. The unused variable might be a typo or some missing code.=