From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id F0E28427F6 for ; Tue, 28 Mar 2023 21:25:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EAD62427F2; Tue, 28 Mar 2023 21:25:10 +0200 (CEST) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mails.dpdk.org (Postfix) with ESMTP id 7F4364021D for ; Tue, 28 Mar 2023 21:25:09 +0200 (CEST) Received: by mail-pl1-f182.google.com with SMTP id o11so12734485ple.1 for ; Tue, 28 Mar 2023 12:25:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; t=1680031509; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=G+5oy6YE3iiuVwK5UZvdFJWTPQ/HTLvwppgWATQ1rVw=; b=Oj3f7/uWmICZU+EW2oqbEYaBdUHpuZhU82gIULnO+DjH8M8GePeBC52VRx2754BIPw OqXrgqZSHhLM9Enqa1AHUwoKA6BxWtdyD7UXpgVT1quUBRruV5DnsNfe85TXK3ROPKZj qFItL5FyU4l4OnFFdCs6iqQjw/ZBe8EMBYQeCP4JM6kanorpCZ5qJzgx7xBQmz7Y5bRj 6mj9ttnhGe9lmvDdFhQ20U7ghY5IfEQxphQuiQys1QNu4Mndmw04px03ubadHIm5JQR+ Nl/P7+EPAlHQQ/Fp3AG9wydMK6JQRXjkTl2eC3m/EvI/axDxjmxBUbirdeGXBoxLnWqT sYxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680031509; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=G+5oy6YE3iiuVwK5UZvdFJWTPQ/HTLvwppgWATQ1rVw=; b=i5AbcLz/ZaO1GXpM9qwC11loY8Gv4RTQWBr4tDE1jAcEG6BfcjwfSAP7wjg9oJp6XX E4gPHnUzq5cppMftpU2VvEznAtH44K6GzcurI01XTFD+M6QILeIiID9H+bXIvmPC1Ku3 +fvXf89lWviKSWkAlnyJjBtU91zIaRYe86Rd4LImDPmje0vebBQInhRSx40kNpACEi9p 0+Zzr6fUlR/goTE74CVpIQic0D0i5DhjCuZfPxQjlq8z68PTkRMitgXxOsVEqU25zHaM jDXiV/t91wO9PfY/Bhu5ICYMgG1iGC4C+4bDbsxjPXWPfqr14cv6lehMtqDZkQfX0GkL z3gA== X-Gm-Message-State: AAQBX9e/zJ+o4d+e+izEty7oX/vtgHFhVSqp5UdF8CNWPawIA6Cl+20D 5WwmDzpz7xYx7B2RhToDoqAtBw== X-Google-Smtp-Source: AKy350bHfo3qHd4vdOQltvy2YHIu784/7+Ur1Bd8gwpgf1s+rYllU7C0hsjFYEnt7jLwJwKsbULbjQ== X-Received: by 2002:a17:902:f545:b0:1a1:7da3:ef5b with SMTP id h5-20020a170902f54500b001a17da3ef5bmr15986044plf.7.1680031508721; Tue, 28 Mar 2023 12:25:08 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id f10-20020a17090274ca00b0019c2b1c4db1sm21350421plt.239.2023.03.28.12.25.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Mar 2023 12:25:08 -0700 (PDT) Date: Tue, 28 Mar 2023 12:25:06 -0700 From: Stephen Hemminger To: Joyce Kong Cc: reshma.pattan@intel.com, konstantin.v.ananyev@yandex.ru, dev@dpdk.org, nd@arm.com, stable@dpdk.org, Ruifeng Wang Subject: Re: [PATCH] pdump: fix build issue with GCC 12 Message-ID: <20230328122506.340e58ba@hermes.local> In-Reply-To: <20230327070712.280265-1-joyce.kong@arm.com> References: <20230327070712.280265-1-joyce.kong@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Mon, 27 Mar 2023 07:07:12 +0000 Joyce Kong wrote: > Actually, this is an alias warning as -O3 enables strict alias. > This patch fixes it by replacing 'dup_bufs' with '&dup_bufs[0]' > as the compiler represents them differently. This looks more like a compiler bug, since both should be equivalent in C.