[flang-commits] [flang] [draft][flang] Query backend support for quad-precision compilation decision (PR #182230)

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Tue Mar 3 06:17:45 PST 2026


tarunprabhu wrote:

> These failures are due to the built `ieee_arithmetic.mod` not containing `kind=16` values. The build process needs to be modified to check if the built flang supports quad-precision and then build the module file accordingly. I haven't yet found a way to achieve this.

If flang were to check for quad-precision support at "use-time", .i.e. when flang is being **used** to compile some code, then wouldn't flang itself *always* have to be built with everything needed to support `kind=16`? So `ieee_arithmetic.mod` would always have to be built with support for `kind=16`? Is my understand of this correct?

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


More information about the flang-commits mailing list