[Bug libgomp/59546] wrong behavior with reduction

2021-06-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59546 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libgomp/59546] wrong behavior with reduction

2013-12-18 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59546 --- Comment #1 from Jakub Jelinek --- i is uninitialized before the reduction, so if you add some number of threads to an uninitialized value, you can get pretty much anything. Also, there is no guarantee !$omp parallel will create exactly omp_ge