Allow two currently erroneous cases of !DIR$ IGNORE_TKR errors: allocatable
and pointers, and IGNORE_TKR(R) on (other) arguments passed via descriptors.
Downgrade these cases to warnings when they appear in external interfaces,
since their implementations may well be in C. But retain the error status
on these cases for module procedures, since the Fortran implementation
probably can't work.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
flang/test/Semantics/ignore_tkr01.f90 | ||
---|---|---|
144 | Would you mind adding a test for assumed-shape in addition to assumed-rank? It should also be a warning. |
Comment Actions
Independent of whether you use arc of the web interface with e.g. git diff -U999999 u > mypatch.patch you could add context to your diff:
https://llvm.org/docs/Phabricator.html#requesting-a-review-via-the-web-interface
which will be really appreciated by your reviewers.
The test below is not checking for this error - but for the other error.