Daniel Chen

Results issues of Daniel Chen

Consider the following test case: ``` MODULE mDerivedModule TYPE :: tTypeDerived(k1) ! (4) INTEGER, KIND :: K1 INTEGER(4) :: i INTEGER(4) :: j CONTAINS FINAL :: tTypeDerivedFinal END TYPE tTypeDerived...

bug
flang:runtime

Test case: ```f90 type dt contains procedure, nopass :: foo => real_foo end type interface subroutine real_foo() end end interface type(dt) :: t1 call sub1(t1%foo) !!! ERROR: Is it illegal...

question
flang:frontend

Consider the following code: ```f90 interface integer(4) function foo4(arg1, arg2) integer :: arg1 integer(4) :: arg2 !dir$ ignore_tkr(k) arg1 end end interface integer(4) :: res, a integer(2) :: b res...

flang:frontend

The following test cases crashes. The problem is that the fix for PR #80738 is not quite complete. It should `GetUltimate()` of the `interface_` before check if it is generic....

bug
flang:frontend

``` #include #include void cfun(char p) { if ( p != 'A' ) exit(41); } ``` ``` use, intrinsic :: iso_c_binding interface subroutine cfun(i) bind(c) import character(C_CHAR), value :: i...

bug
flang:ir

Consider the following code: ``` interface integer function bar() end function foo() import procedure(bar), pointer :: foo end end interface procedure(integer), pointer :: p1 p1 => foo() end ``` Flang...

bug
flang:frontend

Consider the following code: ``` module m type base integer i end type end module subroutine sub(arg) use m class(base) :: arg(*) select type (arg) type is (Base) print *,...

bug
flang:frontend

Consider the following code. ``` PROGRAM main INTERFACE integer FUNCTION IntF(Arg) integer, INTENT(IN) :: Arg END FUNCTION END INTERFACE PROCEDURE(IntF) :: ExtFun CALL IntSub(IntFun1(ExtFun)) CONTAINS FUNCTION IntFun1(Proc) PROCEDURE(IntF) :: Proc...

question
flang:frontend

Consider the following code. ``` integer :: proc procedure() :: proc end ``` Flang currently issues an error as ``` 2:16: error: The interface for procedure 'proc' has already been...

bug
flang:frontend

Consider the following code: ``` PROGRAM Data2 IMPLICIT TYPE(DT)(V) TYPE :: DT INTEGER :: Id PROCEDURE(), NOPASS, POINTER :: ProcPtr END TYPE DIMENSION V1(3) DATA V1(1)%ProcPtr /NULL()/ DATA V1(1)%Id /4/...

bug
flang:frontend