On Fri, 17 Dec 2021 19:28:26 +0000 Dmitry Kozlyuk <dkozl...@nvidia.com> wrote:
> > > I don't see this warning with gcc 10.3.0 (Ubuntu 10.3.0-1ubuntu1~20.04). > [...] > > > > It maybe because I was testing with thread santizer enabled and compiler > > was doing different optimizations. > > Reproduced with -Dc_args=-fsanitize=thread, thanks! I was using -Db_sanitize=thread which is the meson way to do it