Message ID | pull.20.v3.ffstaging.FFmpeg.1642729686725.ffmpegagent@gmail.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,v3] libavutil/tests/md5: Avoid warnings | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
andriy/make_ppc | success | Make finished |
andriy/make_fate_ppc | fail | Make fate failed |
andriy/make_armv7_RPi4 | success | Make finished |
andriy/make_fate_armv7_RPi4 | success | Make fate finished |
andriy/make_aarch64_jetson | success | Make finished |
andriy/make_fate_aarch64_jetson | success | Make fate finished |
diff --git a/libavutil/tests/md5.c b/libavutil/tests/md5.c index 42e4538e0a..ef846598e7 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 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;