mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-11 04:06:20 +00:00
![Pete Steinfeld](/assets/img/avatar_default.png)
C709 An assumed-type entity shall be a dummy data object that does not have the ALLOCATABLE, CODIMENSION, INTENT (OUT), POINTER, or VALUE attribute and is not an explicit-shape array. C710 An assumed-type variable name shall not appear in a designator or expression except as an actual argument corresponding to a dummy argument that is assumed-type, or as the first argument to the intrinsic function IS_CONTIGUOUS, LBOUND, PRESENT, RANK, SHAPE, SIZE, or UBOUND, or the function C_LOC from the intrinsic module ISO_C_BINDING. C711 An assumed-type actual argument that corresponds to an assumed-rank dummy argument shall be assumed-shape or assumed-rank. For C709 I added code to check-declarations.cpp. For this, I had to distinguish between polymorphic types and assumed-type types to eliminate multiple messages on the same line. C710 was already checked, but I added a notation in the source. For C711 I added code to check-call.cpp and the test call15.f90. Original-commit: flang-compiler/f18@4a703f2b5a Reviewed-on: https://github.com/flang-compiler/f18/pull/985