From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1446099-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EBB13158020 for <garchives@archives.gentoo.org>; Tue, 11 Oct 2022 19:18:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DECAEE07DB; Tue, 11 Oct 2022 19:18:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C5FA2E07DB for <gentoo-commits@lists.gentoo.org>; Tue, 11 Oct 2022 19:18:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CA830341206 for <gentoo-commits@lists.gentoo.org>; Tue, 11 Oct 2022 19:18:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4FF4D605 for <gentoo-commits@lists.gentoo.org>; Tue, 11 Oct 2022 19:18:42 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1665515916.aa5f84544096f3ffa5fad307768537ca34e8193e.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/install-qa-check.d/ X-VCS-Repository: proj/portage X-VCS-Files: bin/install-qa-check.d/90gcc-warnings X-VCS-Directories: bin/install-qa-check.d/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: aa5f84544096f3ffa5fad307768537ca34e8193e X-VCS-Branch: master Date: Tue, 11 Oct 2022 19:18:42 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 28897f09-ce43-4b04-98fc-6ee8c20376ff X-Archives-Hash: f01036aad3a0d202c27005d5a329f5c8 commit: aa5f84544096f3ffa5fad307768537ca34e8193e Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Oct 10 19:42:00 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Oct 11 19:18:36 2022 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=aa5f8454 install-qa-check.d/90gcc-warnings: add more LTO warnings (-Wodr, -Wlto-type-mismatch) Bug: https://bugs.gentoo.org/618550 Signed-off-by: Sam James <sam <AT> gentoo.org> bin/install-qa-check.d/90gcc-warnings | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/install-qa-check.d/90gcc-warnings b/bin/install-qa-check.d/90gcc-warnings index d118ce958..6014f6be9 100644 --- a/bin/install-qa-check.d/90gcc-warnings +++ b/bin/install-qa-check.d/90gcc-warnings @@ -63,6 +63,10 @@ gcc_warn_check() { # clobbered: Warn for variables that might be changed by longjmp or vfork # (This warning is also enabled by -Wextra.) 'warning: .*\[-Wclobbered\]' + # LTO type mismatch (https://wiki.gentoo.org/wiki/Project:Toolchain/LTO) + 'warning: .*\[-Wlto-type-mismatch\]' + # ODR (https://wiki.gentoo.org/wiki/Project:Toolchain/LTO) + 'warning: .*\[-Wodr\]' # this may be valid code :/ #': warning: multi-character character constant'