From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 87CB9402D1 for ; Fri, 21 Jan 2022 01:44:43 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id F161968B24D; Fri, 21 Jan 2022 03:44:41 +0200 (EET) Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9C10B68B205 for ; Fri, 21 Jan 2022 03:44:35 +0200 (EET) Received: by mail-oi1-f181.google.com with SMTP id t9so11524448oie.12 for ; Thu, 20 Jan 2022 17:44:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=tPLgmXXTD02EE6gdIe57PivtD8kIhPVRmJRtGszy0sA=; b=iAF15sWwUM9kpvWAzXcYoQoSStLqGgjMWFiNBKDtpp3njocecBiMYFybigEs5m2LVI lJdnV3SRf/kpQt+hntgIWkqacPZrfj53KFRlRzMxzJnmRKgK3WwO0UWjgSsKeeUoAKwj StTZoCysnGEZvfaaAEaoiECqQDkq3OlIWDNaZD/WZ6M5JQssbBQkNJ3GjMZ00wJmaRW/ rbO+sDvxhyyz4DoQ25DIGLK0lcw1xKBnzsCnAU82fY11VcYYPGxUgJJMHEtY9ulX2xei EGtTe+hL2880vDi4HY2/wfiTFfIkUneg2vQ+ucGfF0FIhvObUbNmbztkr8l6oH8u5c1W 85YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=tPLgmXXTD02EE6gdIe57PivtD8kIhPVRmJRtGszy0sA=; b=ypOmKuY08WW727nm8w17g5oEA9xO4JG5Qi9ksJwRjA/QP49meQb7HsJhPlS66l1mMt 6GJnoW+BGax4o0G5FmoGj7h9EpPtTa+xQKOFZQP01r+U7mDW56Isy6aokaC03lxWgp9J aZjTnSyjcgrkfcELBpIG5GzpMbOVvqbqTeQAUkrPzeuMgj3B6JJlbjLw6bBURQrcLJG8 Tk6tdwUSjuVVH6ofSnrlslnru6opondWOXV45xuw6M5AdgNppNjCDabfd04UKHYWjU2j QO05601VykWHSxKphoDRElx38+jb1MchHzpuiRaP8GkCZhl503kDvDZWtEBM1m0nhfxu nKAw== X-Gm-Message-State: AOAM530oahwBk4VMSI/9QPV36C6ASTpknB8KaYmjvPcoSTcOpp2tDAbZ ySYHvPcvXVO11mZKydUx2dkvZROk6BA= X-Google-Smtp-Source: ABdhPJwgyD2HArq6084vBwc/P1uKsR0kgvy+7aTM7RM3SzjvNVZk18Pa2jemPBrkGzIhCh2vn7wdPA== X-Received: by 2002:a05:6808:1486:: with SMTP id e6mr10274234oiw.133.1642729473687; Thu, 20 Jan 2022 17:44:33 -0800 (PST) Received: from [192.168.0.13] ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id y64sm492411oig.54.2022.01.20.17.44.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Jan 2022 17:44:33 -0800 (PST) Message-ID: <72c13fff-d78d-b195-96b4-5162b0235a74@gmail.com> Date: Thu, 20 Jan 2022 22:44:31 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: From: James Almer In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH v2] libavutil/tests/md5: Avoid warnings X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 1/20/2022 10:41 PM, softworkz wrote: > From: softworkz > > Those are always showing up on Patchwork > when FATE tests are failing, covering > some possibly more useful information. > > Signed-off-by: softworkz > --- > libavutil/tests/md5: Avoid warnings > > Those are always showing up on Patchwork when FATE tests are failing, > covering some possibly more useful information. > > Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-20%2Fsoftworkz%2Fsubmit_md5-v2 > Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-20/softworkz/submit_md5-v2 > Pull-Request: https://github.com/ffstaging/FFmpeg/pull/20 > > Range-diff vs v1: > > 1: 3910d81fa1 ! 1: 4723054463 libavutil/tests/md5: Avoid warnings > @@ libavutil/tests/md5.c: int main(void) > { > uint8_t md5val[16]; > int i; > -+ > -+#if defined(__clang__) && defined(__clang_major__) && __clang_major__ < 4 > - volatile uint8_t in[1000]; // volatile to workaround http://llvm.org/bugs/show_bug.cgi?id=20849 > +- volatile uint8_t in[1000]; // volatile to workaround http://llvm.org/bugs/show_bug.cgi?id=20849 > - // FIXME remove volatile once it has been fixed and all fate clients are updated > -+#else > -+ uint8_t in[1000]; > ++ > ++#if 1 || defined(__clang__) && defined(__clang_major__) && __clang_major__ < 4 > ++ volatile // volatile to workaround http://llvm.org/bugs/show_bug.cgi?id=20849 > +#endif > ++ uint8_t in[1000]; > > for (i = 0; i < 1000; i++) > in[i] = i * i; > > > libavutil/tests/md5.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/libavutil/tests/md5.c b/libavutil/tests/md5.c > index 42e4538e0a..cca63d6507 100644 > --- a/libavutil/tests/md5.c > +++ b/libavutil/tests/md5.c > @@ -33,8 +33,11 @@ int main(void) > { > uint8_t md5val[16]; > int i; > - volatile uint8_t in[1000]; // volatile to workaround http://llvm.org/bugs/show_bug.cgi?id=20849 > - // FIXME remove volatile once it has been fixed and all fate clients are updated > + > +#if 1 || defined(__clang__) && defined(__clang_major__) && __clang_major__ < 4 1? > + volatile // volatile to workaround http://llvm.org/bugs/show_bug.cgi?id=20849 > +#endif > + uint8_t in[1000]; > > for (i = 0; i < 1000; i++) > in[i] = i * i; > > base-commit: 7512293cf912c65fa657eab680afd5e18fd47603 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".