From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A71DDC433B4 for ; Tue, 18 May 2021 07:14:34 +0000 (UTC) Received: from lists.zx2c4.com (lists.zx2c4.com [165.227.139.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ABA2B61261 for ; Tue, 18 May 2021 07:14:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ABA2B61261 Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=zx2c4.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=wireguard-bounces@lists.zx2c4.com Received: by lists.zx2c4.com (ZX2C4 Mail Server) with ESMTP id e562cbf6; Tue, 18 May 2021 07:14:31 +0000 (UTC) Received: from mail.zx2c4.com (mail.zx2c4.com [104.131.123.232]) by lists.zx2c4.com (ZX2C4 Mail Server) with ESMTPS id 92d26624 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Tue, 18 May 2021 07:14:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1621322066; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RXQ4Vwy6v8IO395wUjUpVIE9S+UTsOooHe9XsGGddFQ=; b=p6cGqW33smtsYtrQLB4qTJQDzBGu1+ZB4L/UTR/Df1xuzN+65DK8WbkcCEtc6VaP3tZb4B LilWg7hdgZyDCma5RqkutRPJvi+49z9mZz7h1d04Sl2R1E9nsuF5Rd5REcDaDB8dodrffA rx6mQdSNXEeN8/b2Ki3VEjqw0W/VmKc= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id ad0538e1 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Tue, 18 May 2021 07:14:26 +0000 (UTC) Received: by mail-yb1-f174.google.com with SMTP id e190so11917525ybb.10 for ; Tue, 18 May 2021 00:14:26 -0700 (PDT) X-Gm-Message-State: AOAM532UAgSF2ui7KWSYd2fQ0JfHwGqpF+3QJ5d9/veUWK7OtXXsv1wS /aEOPSse8fbe4/K3BpVcmWWRheDRe57e9hpQ8RE= X-Google-Smtp-Source: ABdhPJxPWrTM4bgrjdLlGebx9ihiZ7K76JH2t5W/dT9PmCdfTPbDPBSo459xYt3Xi/8DENPzB9DmPYA2toQ9dLrcrnw= X-Received: by 2002:a25:bb89:: with SMTP id y9mr5534415ybg.456.1621322066041; Tue, 18 May 2021 00:14:26 -0700 (PDT) MIME-Version: 1.0 References: <20210517091053.886157-1-liuhangbin@gmail.com> In-Reply-To: From: "Jason A. Donenfeld" Date: Tue, 18 May 2021 09:14:15 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH wireguard-tools] src/show: remove dead offset check code To: Hangbin Liu Cc: WireGuard mailing list Content-Type: text/plain; charset="UTF-8" X-BeenThere: wireguard@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: wireguard-bounces@lists.zx2c4.com Sender: "WireGuard" Looks like the compiler optimizes it: https://data.zx2c4.com/the-compiler-optimizes-the-first-addition.png