From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
patches@lists.linux.dev, Christopher Fore <csfore@posteo.net>,
Kees Cook <kees@kernel.org>
Subject: [PATCH 6.6 2/7] gcc-plugins: Remove TODO_verify_il for GCC >= 16
Date: Fri, 3 Oct 2025 18:06:10 +0200 [thread overview]
Message-ID: <20251003160331.562053807@linuxfoundation.org> (raw)
In-Reply-To: <20251003160331.487313415@linuxfoundation.org>
6.6-stable review patch. If anyone has any objections, please let me know.
------------------
From: Kees Cook <kees@kernel.org>
commit a40282dd3c484e6c882e93f4680e0a3ef3814453 upstream.
GCC now runs TODO_verify_il automatically[1], so it is no longer exposed to
plugins. Only use the flag on GCC < 16.
Link: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=9739ae9384dd7cd3bb1c7683d6b80b7a9116eaf8 [1]
Suggested-by: Christopher Fore <csfore@posteo.net>
Link: https://lore.kernel.org/r/20250920234519.work.915-kees@kernel.org
Signed-off-by: Kees Cook <kees@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
scripts/gcc-plugins/gcc-common.h | 7 +++++++
1 file changed, 7 insertions(+)
--- a/scripts/gcc-plugins/gcc-common.h
+++ b/scripts/gcc-plugins/gcc-common.h
@@ -196,10 +196,17 @@ inline bool is_a_helper<const gassign *>
}
#endif
+#if BUILDING_GCC_VERSION < 16000
#define TODO_verify_ssa TODO_verify_il
#define TODO_verify_flow TODO_verify_il
#define TODO_verify_stmts TODO_verify_il
#define TODO_verify_rtl_sharing TODO_verify_il
+#else
+#define TODO_verify_ssa 0
+#define TODO_verify_flow 0
+#define TODO_verify_stmts 0
+#define TODO_verify_rtl_sharing 0
+#endif
#define INSN_DELETED_P(insn) (insn)->deleted()
next prev parent reply other threads:[~2025-10-03 16:08 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-03 16:06 [PATCH 6.6 0/7] 6.6.110-rc1 review Greg Kroah-Hartman
2025-10-03 16:06 ` [PATCH 6.6 1/7] crypto: sha256 - fix crash at kexec Greg Kroah-Hartman
2025-10-03 16:06 ` Greg Kroah-Hartman [this message]
2025-10-03 16:06 ` [PATCH 6.6 3/7] scsi: target: target_core_configfs: Add length check to avoid buffer overflow Greg Kroah-Hartman
2025-10-03 16:06 ` [PATCH 6.6 4/7] media: b2c2: Fix use-after-free causing by irq_check_work in flexcop_pci_remove Greg Kroah-Hartman
2025-10-03 16:06 ` [PATCH 6.6 5/7] media: rc: fix races with imon_disconnect() Greg Kroah-Hartman
2025-10-03 16:06 ` [PATCH 6.6 6/7] media: uvcvideo: Mark invalid entities with id UVC_INVALID_ENTITY_ID Greg Kroah-Hartman
2025-10-03 16:06 ` [PATCH 6.6 7/7] ASoC: qcom: audioreach: fix potential null pointer dereference Greg Kroah-Hartman
2025-10-03 17:13 ` [PATCH 6.6 0/7] 6.6.110-rc1 review Florian Fainelli
2025-10-04 11:36 ` Brett A C Sheffield
2025-10-04 11:53 ` [PATCH 6.6 0/7] " Naresh Kamboju
2025-10-04 13:05 ` Jon Hunter
2025-10-04 16:58 ` Shuah Khan
2025-10-04 20:11 ` Peter Schneider
2025-10-04 21:26 ` Ron Economos
2025-10-05 16:26 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251003160331.562053807@linuxfoundation.org \
--to=gregkh@linuxfoundation.org \
--cc=csfore@posteo.net \
--cc=kees@kernel.org \
--cc=patches@lists.linux.dev \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.