[flang-commits] [flang] [flang] correctly deal with bind(c) derived type result ABI (PR #111678)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Thu Oct 10 01:39:28 PDT 2024


kiranchandramohan wrote:

> @kiranchandramohan and @pawosm-arm, I hesitated making a silent TODO, but I am seeing that on simple struct like type, bind(c) :: t; real x; end type, the ABI is also not currently correct on ARM looking at the C equivalent with C (flang used to return result via memory, while clang returns it in register).

Thanks @jeanPerier for the info. Someone from our side will look into the ABI issues before LLVM 20.

https://github.com/llvm/llvm-project/pull/111678


More information about the flang-commits mailing list