https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63938
Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-11-24
CC| |Joost.VandeVondele at mat dot
ethz
| |.ch
Ever confirmed|0 |1
Known to fail| |4.7.2, 4.8.3, 4.9.2, 5.0
--- Comment #1 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch>
---
confirmed to affect all open branches, and at all optimization levels.
It is triggered by the fact that the array index is a constant, i.e.
this fails:
!$omp atomic
x(1) = x(1) + 1
this works:
!$omp atomic
x(j) = x(j) + 1