[PATCH] D84290: Fix for the scenario when type guard has intrinsic type specification and Selector is NOT unlimited Polymorphic.

Inderjeet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 21 20:46:45 PDT 2020


inderjeet-hcl added a comment.

Additional compilation error will come in selecttype01.f90 and symbol11.f90  test cases and it is expected with the patch.   Also I am uploading patch file to add "RUN: line" in newly added test case selecttype04.f90.

1. selecttype01.f90:  Addition error will come at line 122 and 130 selecttype01.f90:122:3: error: If selector is not Unlimited Polymorphic, intrinsic type specification must not be specified in type guard statement type is (integer) ^^^^^^^^^^^^^^^^^

  selecttype01.f90:130:3: error: If selector is not Unlimited Polymorphic, intrinsic type specification must not be specified in type guard statement type is (integer) ^^^^^^^^^^^^^^^^^

2. symbol11.f90:  Addition error will come at line 74.

symbol11.f90:74:3: error: If selector is not Unlimited Polymorphic, intrinsic type specification must not be specified in type guard statement

  type is (integer(kind=8))
  ^^^^^^^^^^^^^^^^^^^^^^^^^

F12384219: testcasefix.patch <https://reviews.llvm.org/F12384219>


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84290/new/

https://reviews.llvm.org/D84290





More information about the llvm-commits mailing list