aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/UpdateTestChecks/asm.py
diff options
context:
space:
mode:
authorPeter Klausler <35819229+klausler@users.noreply.github.com>2024-06-03 14:49:08 -0700
committerGitHub <noreply@github.com>2024-06-03 14:49:08 -0700
commitd03cd05f077f92e87f354aca4cdea599b678b64e (patch)
tree57e1bd71af3a86ee735c27abdc26e565721e8fbe /llvm/utils/UpdateTestChecks/asm.py
parentbd815a54899d7fa83f6fb49d86c417e1e2e4d2ef (diff)
downloadllvm-d03cd05f077f92e87f354aca4cdea599b678b64e.zip
llvm-d03cd05f077f92e87f354aca4cdea599b678b64e.tar.gz
llvm-d03cd05f077f92e87f354aca4cdea599b678b64e.tar.bz2
[flang] Propagate the BIND(C) attribute into procedures from their in… (#93994)
…terfaces In "PROCEDURE(iface) :: proc", if "iface" has the BIND(C) attribute, then so should proc, as if the declaration had been "PROCEDURE(iface), BIND(C) :: proc". This had been working in name resolution only in cases where "iface" had been declared before "proc". Note that if "iface" is declared with an empty binding name ("BIND(C,NAME='')"), "proc" does not inherit that property. Use an explicit "BIND(C,NAME='')" on the "PROCEDURE" statement for that. This behavior is not clearly defined in the standard, but seems to match what some other Fortran compilers do.
Diffstat (limited to 'llvm/utils/UpdateTestChecks/asm.py')
0 files changed, 0 insertions, 0 deletions