File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -948,11 +948,6 @@ void CheckHelper::CheckObjectEntity(
948
948
" Component '%s' with ATTRIBUTES(DEVICE) must also be allocatable" _err_en_US,
949
949
symbol.name ());
950
950
}
951
- if (IsAssumedSizeArray (symbol)) {
952
- messages_.Say (
953
- " Object '%s' with ATTRIBUTES(DEVICE) may not be assumed size" _err_en_US,
954
- symbol.name ());
955
- }
956
951
break ;
957
952
case common::CUDADataAttr::Managed:
958
953
if (!IsAutomatic (symbol) && !IsAllocatable (symbol) &&
Original file line number Diff line number Diff line change @@ -57,8 +57,7 @@ module m
57
57
contains
58
58
attributes(device) subroutine devsubr(n,da)
59
59
integer, intent(in) :: n
60
- !ERROR: Object 'da' with ATTRIBUTES(DEVICE) may not be assumed size
61
- real, device :: da(*)
60
+ real, device :: da(*) ! ok
62
61
real, managed :: ma(n) ! ok
63
62
!WARNING: Pointer 'dp' may not be associated in a device subprogram
64
63
real, device, pointer :: dp
You can’t perform that action at this time.
0 commit comments