@@ -512,7 +512,7 @@ static const IntrinsicInterface genericIntrinsicFunction[]{
512
512
{" getcwd" ,
513
513
{{" c" , DefaultChar, Rank::scalar, Optionality::required,
514
514
common::Intent::Out}},
515
- DefaultInt },
515
+ TypePattern{IntType, KindCode::greaterOrEqualToKind, 4 } },
516
516
{" getpid" , {}, DefaultInt},
517
517
{" huge" ,
518
518
{{" x" , SameIntOrReal, Rank::anyOrAssumedRank, Optionality::required,
@@ -1405,8 +1405,8 @@ static const IntrinsicInterface intrinsicSubroutine[]{
1405
1405
{" getcwd" ,
1406
1406
{{" c" , DefaultChar, Rank::scalar, Optionality::required,
1407
1407
common::Intent::Out},
1408
- {" status" , DefaultInt, Rank::scalar, Optionality::optional ,
1409
- common::Intent::Out}},
1408
+ {" status" , TypePattern{IntType, KindCode::greaterOrEqualToKind, 4 } ,
1409
+ Rank::scalar, Optionality::optional, common::Intent::Out}},
1410
1410
{}, Rank::elemental, IntrinsicClass::impureSubroutine},
1411
1411
{" move_alloc" ,
1412
1412
{{" from" , SameType, Rank::known, Optionality::required,
0 commit comments