You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
subroutinesimplicit nonedouble precision,allocatable,dimension(:) :: r
!$omp parallel private(r)allocate(r(1))
deallocate(r)
!$omp end parallelendsubroutine
% flang -c omp_dealloc.f90
% flang -c -fopenmp omp_dealloc.f90./omp_dealloc.f90:6:20: error: name in DEALLOCATE statement must have the ALLOCATABLE or POINTER attribute deallocate(r) ^
The text was updated successfully, but these errors were encountered:
omp_dealloc.f90
The text was updated successfully, but these errors were encountered: