From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 138C0A00C5;
	Thu, 30 Apr 2020 14:55:20 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id ACF8C1DBBE;
	Thu, 30 Apr 2020 14:55:18 +0200 (CEST)
Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com
 [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id A0C991DBB6
 for <dev@dpdk.org>; Thu, 30 Apr 2020 14:55:16 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
 s=mimecast20190719; t=1588251316;
 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:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=gnj8eIoNsEn4utBHPmLbynLQhhnIcAjvflCKK/D/YUA=;
 b=YfRC6aix4zzPVcEm2GvuMCOl+sySEtuYk7L18xOvZ+Oq+YBbHvwwOgxt79gMcteo6ULFSz
 kSKHOlRkzoRQwFeiMU26X1pztf7u9Y94UF1XORitoc0BOfcODhSE+IA0joYj2XQPOtDOYj
 gRfaSc5h9QvE5YSSnJCJNp3zjG9F478=
Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com
 [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id
 us-mta-451-hY2wOLcLMk-Bfp75Nz8mbw-1; Thu, 30 Apr 2020 08:55:12 -0400
X-MC-Unique: hY2wOLcLMk-Bfp75Nz8mbw-1
Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com
 [10.5.11.15])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6AD9C100CCCC;
 Thu, 30 Apr 2020 12:55:09 +0000 (UTC)
Received: from dhcp-25.97.bos.redhat.com (ovpn-116-3.rdu2.redhat.com
 [10.10.116.3])
 by smtp.corp.redhat.com (Postfix) with ESMTPS id 03D535EDF1;
 Thu, 30 Apr 2020 12:55:07 +0000 (UTC)
From: Aaron Conole <aconole@redhat.com>
To: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Cc: dev@dpdk.org, konstantin.ananyev@intel.com, thomas@monjalon.net,
 ruifeng.wang@arm.com, nd@arm.com
References: <20200430015650.18243-1-honnappa.nagarahalli@arm.com>
Date: Thu, 30 Apr 2020 08:55:06 -0400
In-Reply-To: <20200430015650.18243-1-honnappa.nagarahalli@arm.com> (Honnappa
 Nagarahalli's message of "Wed, 29 Apr 2020 20:56:50 -0500")
Message-ID: <f7tzhatdtg5.fsf@dhcp-25.97.bos.redhat.com>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Subject: Re: [dpdk-dev] [PATCH] test/ring: fix long compilation time
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> writes:

> test_ring.c takes lot of time to compile with clang. It is
> reproducable with compiler version 8.0 on Ubuntu 18.04.
> Amount of testing is reduced, but attempt is made to keep
> the same coverage.
>
> Reported-by: Aaron Conole <aconole@redhat.com>
> Reported-by: Thomas Monjalon <thomas@monjalon.net>
> Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
> ---

Thanks, Honnappa!

One thing to note, I don't see this with just clang - it occurs with gcc
as well.  I'm going to test this patch today.