aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/tutorial/MyFirstLanguageFrontend
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2022-07-18 13:31:17 -0700
committerPeter Klausler <pklausler@nvidia.com>2022-07-25 11:06:30 -0700
commit90c4eda3d29a9d08744891b941a30f1be61dbe46 (patch)
treefea2dade8299dacee4e8e4acac715677031f318b /llvm/docs/tutorial/MyFirstLanguageFrontend
parent894641e974e55164481fe3e7c90ef3cf5af89cf9 (diff)
downloadllvm-90c4eda3d29a9d08744891b941a30f1be61dbe46.zip
llvm-90c4eda3d29a9d08744891b941a30f1be61dbe46.tar.gz
llvm-90c4eda3d29a9d08744891b941a30f1be61dbe46.tar.bz2
[flang] Dial some errors down to warnings for ASSOCIATED()
When a procedure pointer is associated with a procedure target, f18 will emit hard error messages if the pointer is incompatible with the target in a way that would cause the program to not work if the procedure pointer were actually called. However, in the context of the ASSOCIATED() intrinsic, the compiler should not consider a query to be a compilation-time error if the pointer and the target are incompatible. The standard gives us sufficient wiggle room here to treat these cases as warnings. Attempts to use ASSOCIATED to test whether a procedure pointer is associated with a data object, or vice versa, remain errors. Differential Revision: https://reviews.llvm.org/D130384
Diffstat (limited to 'llvm/docs/tutorial/MyFirstLanguageFrontend')
0 files changed, 0 insertions, 0 deletions