From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8632B12B93 for ; Sat, 30 Nov 2024 22:45:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733006729; cv=none; b=jr907lgCy4NEjCL73GEwUdH9glD6ExOEUx65Gc8DwaRrn0wn8kVB9zL0S1UbsnqVBsYbeqTONPSyvB7OeDO3E5rY4ki+VXOEJf0ZrEhE2Bw/a62XAhbG2G+id32ylQkDEHwdFENaZDV6LVqSlQDZAhWxhXx5GGVzXqSqsQLHesw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733006729; c=relaxed/simple; bh=/i5r6j6FRQIXgA29oqxt1I37ugtNk1zp2dWyzx/YYi0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=HH02CObtosoxtNb8587kK8jef52EOnq6Lmxr+S2dfMNqlP1iZywrvQvloWWubitchzvj7M/ftDolG0/NDbI4ElITAnkD76A2Y9EivCbZjZYwhSnJD8fNYoE6mkA00OC8vLkeBumFFo7yFEHRx3c9VwKdEbFIQtyx54lJpLKLeNU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=e/F3TrPR; arc=none smtp.client-ip=209.85.218.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="e/F3TrPR" Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-aa560a65fd6so518397566b.0 for ; Sat, 30 Nov 2024 14:45:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1733006725; x=1733611525; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=0hphYdQfo6/0nfM+rP/NLr9aSJE0fabP9WR2eaGMHDw=; b=e/F3TrPR/YzOz8w5ZqNWw+74Ps1UAZ1/3SpeCfWzOCCLDjHjx8JUuVz/Oj5NRGgz8m cSwTJiyFqyhf4EN8WbWP9xybeUNRHJVLiZqkxocS1FP7Nii9iIlwwD1PHG/4nqLrKlUB 3L9tmzLxLiTNY0MdcYw8hhLzF/h0/X36UPxJo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733006725; x=1733611525; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0hphYdQfo6/0nfM+rP/NLr9aSJE0fabP9WR2eaGMHDw=; b=Edg3zYlYM3o2lEU/nACwXNqfm7hFN0e+YeETz2WwKEO0srrG54ZP6hqIpcH6Jbscnf SNg/aWCrLBGW0TsYoip74rTFyHgApc9olt3gOCeA7rJi5HNdNjG6FmiqB4Apz6+/NpXu KPWonPZvC8yX/czMquV1xPkVpduKGVxUXcCJX4dZ8RnNn7UPW3jbF749lc7jeQ0oHQDe rYilSkmUq0Y//8makF96ySQoab6FXxkRU+BLfwQMwzTW19ncjJ/flarYR7txG/bGk9Wr ooej0WSpUc9UwEv9y/RUV6qo69iPAQMiWRj+3VRdoWg5KkGeSZnx7wH6Xb2qJ1e6oAMT hmIQ== X-Forwarded-Encrypted: i=1; AJvYcCUEG2HWZEI6mUkjhRevc/U8AhcfhUl5TzSapmFLvt8TR7/KHh5ofe5uC2QecJjR10hvmN8eRqEDH0UytJjmRUvU@vger.kernel.org X-Gm-Message-State: AOJu0YwFUazzN4duhqGkY4yIJBm9iVCzWb7HHla1C0Fg/o+GnSAT5TwR s6QT+ASHMt1DDW7q3EjVUw3V5pLF8q/nIaYoEvsWt81IJENga9qNALpfsKvbRDAgQD87K7yhG8n oQWHSXw== X-Gm-Gg: ASbGncuJ9yCtpjo4RKqR/QtXdnwnzrhAcUdgUx7Em60AICQfvKY1nOrs3igj/d7Hh4z zrJVSqDkW1SVIUNMfOouhKSXJaXWCrrzAtyfLj+fP9wqE55HT+zXfkecu5sFhx734QbpO2vEmBN mY0jSB6J3k+NAiM4o0JT77serUXHleqEtizUQtTHm/trS1vZ06T2PEdy62sm8s6z20M4xkdVYoZ PT9T2Oopf+LcMI/80MdhAezCTBGhqN92ufX4kiYsAfoSXgLoA2xEIR6elrck7NKHRJ3h9OyQMoE h+ktVZe44TrL4LQDRrjJoyDl X-Google-Smtp-Source: AGHT+IEonCcvmgmaChfjEFw2BYcgxC1Gp3FLyTzHCYjOLPZww3GrcQOkE09RkJNCd1FVdzJBl7KdWA== X-Received: by 2002:a17:906:1bb2:b0:aa5:c9c:31c5 with SMTP id a640c23a62f3a-aa5945f54ccmr1441742466b.17.1733006725468; Sat, 30 Nov 2024 14:45:25 -0800 (PST) Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com. [209.85.208.44]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa5996c1738sm327992166b.21.2024.11.30.14.45.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 30 Nov 2024 14:45:25 -0800 (PST) Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-5cf9ef18ae9so7052118a12.1 for ; Sat, 30 Nov 2024 14:45:24 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWu/NK8fNOa1lZ+Z2UI4fkZU9P7j1h9vP2fyzoBoMDo/r20qVIBa0GFrw1J7VZOaxY+aJtPt0bgMOsbahvf/kDa@vger.kernel.org X-Received: by 2002:a17:906:3186:b0:aa5:4d1c:78aa with SMTP id a640c23a62f3a-aa5945058c7mr1423165466b.5.1733006723901; Sat, 30 Nov 2024 14:45:23 -0800 (PST) Precedence: bulk X-Mailing-List: linux-toolchains@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20241129125238.GI24400@noisy.programming.kicks-ass.net> <20241130111040.GR29862@gate.crashing.org> <20241130221940.GS29862@gate.crashing.org> In-Reply-To: From: Linus Torvalds Date: Sat, 30 Nov 2024 14:45:07 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: GCC 15 -fzero-init-padding-bits= option and redzone clobber To: Segher Boessenkool Cc: Jakub Jelinek , Peter Zijlstra , linux-toolchains@vger.kernel.org, x86@kernel.org Content-Type: text/plain; charset="UTF-8" On Sat, 30 Nov 2024 at 14:43, Linus Torvalds wrote: > > Guess why we have random unnecessary "asm volatile" things too? Yeah. > gcc bugs. They have been fixed, but not in older versions. Btw, don't feel bad. There are clang bugs too. Bugs happen. And they happen more in code bases that push the boundaries. 99% of all projects never use inline asm at all, or do it purely with headers that came with the system. For the kernel, it's non-negotiable. Linus