Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1154936ioo; Fri, 27 May 2022 02:44:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+JSCJdsWMxEsKDE0npgWCkLJZSsr9iVcjwsNCD8ix4ayhue3r6vG/eBZu73LahWqL+4+h X-Received: by 2002:a17:906:6a28:b0:6ff:d8b:955e with SMTP id qw40-20020a1709066a2800b006ff0d8b955emr12552535ejc.505.1653644644431; Fri, 27 May 2022 02:44:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653644644; cv=none; d=google.com; s=arc-20160816; b=QrJvYtw60SMS7zV3tuF/POzYExZWnyQoYPvMEiLo+7NA83yGCdXsG2IxxFdEnLA2d8 099SDKKL0KpeJYjpoOzkj0oqwUiLPDj4P/brIreLugX7revS+xo4TIvuh/xO8CLWBCT7 LDSuNxMJpwjvhSGdszKUBouaNbHTfwgjp5Np2DCL/wW2qbSZICi7Hww5Ysqkle2QEHxs 6nBdI11jHSIX/jw94Zw1O6e8vlys+OxVEfPkW/Zk9cKg3F1tt+RdjSG32amnWhl4v0vR yqepIC+RCfhulHNnPbOxEYaAlW9ukg22Q5VCMEAveC3my1oZSFcrpmgXxr3Fghopm6OL hcGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Yec29r6iuyhGesHESyxdhnNXq6N6JjRsk9N/Wv7l00o=; b=EuzjxGnsak/t7/sy4GMYaoRPl22Ih522mP14Q3KxhkKCJFjIeOMFU4TNo/CEcdSWqj DfXG6AHigix2BFy0I5bhgRAgZvICI24PIB785/xA783KCHwANen5/XhzI+c7N/p6HWUG L/TjyUZ9UPmXBCk1SfjwfHugu1fFwF1FhjYLUf0btu20wZaoCEM0hCWJmm+RKtj3/VFY b557Aeap8aobfjhDLBZkHkdm9BglzDAPutaz3bD2bz3pryJl6ukjTnUMR1LPTXEAaOHs kWONfydr6R5uaMxAGYKTbxIro21DGoaPLWcm/cvg+I88u3assWHjKqtTbwqQZ22n1S6+ y4dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=u6Ow4nOe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b25-20020aa7d499000000b0042ac823250bsi3361294edr.229.2022.05.27.02.43.37; Fri, 27 May 2022 02:44:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=u6Ow4nOe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241292AbiEZIJC (ORCPT + 99 others); Thu, 26 May 2022 04:09:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232257AbiEZIJA (ORCPT ); Thu, 26 May 2022 04:09:00 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96D3A1D338; Thu, 26 May 2022 01:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Yec29r6iuyhGesHESyxdhnNXq6N6JjRsk9N/Wv7l00o=; b=u6Ow4nOeNjW8OGrhg5lgwiep2A FbV45WI7PTDQkJnFEfPSjKVtMP1pJDBC1dyQ3UiHuQpaNUeg2JirZdicWr8HDTT2dkiRW66EAljry 45A3KBC3mw1smx3U2xY/vG0GK8TQPzpGWSrQcyMWB10Gc3C8he4yYw25SASRVowKHdKgv+OzJudj9 Os2N8lWhhZVXvjqVXPIyCBHNEA8UolMKNm4aeUs6qstbo/0vCKzbJxc0yW/ZesWJqHdhuMZlpqygW FwhBCmw1x/exNAi2gKMyRGqbRs3W5eZh9/LPIa3Z+ZPysp60iEdgZGxWWTmRKlMWzInR9QbFni93i wpGyZOWA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nu8Y7-0014YU-Oh; Thu, 26 May 2022 08:08:51 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 8E4E2980E04; Thu, 26 May 2022 10:08:49 +0200 (CEST) Date: Thu, 26 May 2022 10:08:49 +0200 From: Peter Zijlstra To: "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, Josh Poimboeuf , linux-toolchains@vger.kernel.org Subject: Re: objtool warning, branch, patch, and .config (GCC bug) Message-ID: <20220526080849.GF6479@worktop.programming.kicks-ass.net> References: <20220525173332.GA4008581@paulmck-ThinkPad-P17-Gen-1> <20220525173444.GA4010526@paulmck-ThinkPad-P17-Gen-1> <20220526080313.GM2578@worktop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220526080313.GM2578@worktop.programming.kicks-ass.net> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 26, 2022 at 10:03:13AM +0200, Peter Zijlstra wrote: > Which is just bloody weird/broken if you ask me. What's worse, GCC-10 > does the same. Only when I use GCC-11 do I get sensible code again: Just to clarify, I can reproduce using: gcc-9 (Debian 9.4.0-5) 9.4.0 gcc-10 (Debian 10.3.0-15) 10.3.0 The good compiler is: gcc-11 (Debian 11.3.0-1) 11.3.0