> > 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 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!