[Bug libgomp/59194] tsan detects race for real variables in an OMP reduction clause

Joost.VandeVondele at mat dot ethz.ch gcc-bugzilla@gcc.gnu.org
Wed Nov 20 18:12:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59194

--- Comment #8 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> ---
(In reply to Jakub Jelinek from comment #7)
> And the problem with that is?  Because the arithmetics is based on the value
> we've read, it shouldn't be a problem.

Ah...right. 

> That said, during stage3 I'll look at how costly would be to use there
> __atomic_load_n with MEMMODEL_RELAXED.

Thanks!



More information about the Gcc-bugs mailing list