| Issue |
83548
|
| Summary |
[flang] Behavior differs with gfortran/ifort when passing Hollerith to CLASS(*)
|
| Labels |
flang
|
| Assignees |
klausler
|
| Reporter |
jeanPerier
|
The following test fails with flang https://github.com/llvm/llvm-test-suite/blob/main/Fortran/gfortran/regression/unlimited_polymorphic_14.f90
It ends with STOP 2 because the Hollerith is passed to the CLASS(*) as a character while gfortran/ifort pass it with another type (which does not seem to be an intrinsic type, maybe it is some type code specific for Hollerith, I did not dig further).
Since this is not a standard feature, I am not sure about the expectation. Nag refuses it with an explicit message that Hollerith cannot be passed to CLASS(*).
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs