File tree Expand file tree Collapse file tree 5 files changed +43403
-2
lines changed Expand file tree Collapse file tree 5 files changed +43403
-2
lines changed Original file line number Diff line number Diff line change @@ -9561,8 +9561,7 @@ void ResolveNamesVisitor::CreateGeneric(const parser::GenericSpec &x) {
95619561static void SetImplicitCUDADevice (bool inDeviceSubprogram, Symbol &symbol) {
95629562 if (inDeviceSubprogram && symbol.has <ObjectEntityDetails>()) {
95639563 auto *object{symbol.detailsIf <ObjectEntityDetails>()};
9564- if (!object->cudaDataAttr () && !IsValue (symbol) &&
9565- !IsFunctionResult (symbol)) {
9564+ if (!object->cudaDataAttr () && !IsFunctionResult (symbol)) {
95669565 // Implicitly set device attribute if none is set in device context.
95679566 object->set_cudaDataAttr (common::CUDADataAttr::Device);
95689567 }
Original file line number Diff line number Diff line change 1+ !mod $ v1 sum: dcc937f37583c496
2+ module char1
3+ character(1 _8,1 ),allocatable:: da(: )
4+ attributes(device) da
5+ character(1 _8,1 ),allocatable:: db(: )
6+ attributes(device) db
7+ contains
8+ attributes(device) function check_char(c1,c2)
9+ character(1 _8,1 ),value:: c1
10+ character(1 _8,1 ),value:: c2
11+ logical(4 ):: check_char
12+ end
13+ end
You can’t perform that action at this time.
0 commit comments