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

Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2012-06-29

--- Comment #3 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> 
2012-06-29 14:34:00 UTC ---
simplified testcase, for 4.8:

INTEGER :: ip,np
!$omp parallel do default(none)
  DO ip=0,np
  ENDDO
!$omp end parallel do
END 

while it is OK for ip to have no explicit attribute, I believe the standard
requires one for np. Intel ifort gives:

est.f90(3): error #6752: Since the OpenMP* DEFAULT(NONE) clause applies, the
PRIVATE, SHARED, REDUCTION, FIRSTPRIVATE, or LASTPRIVATE attribute must be
explicitly specified for every variable.   [NP]

Reply via email to