[flang-commits] [flang] [flang][OpenMP] Fix verification of REF modifier on LINEAR clause (PR #232367)

Markus Mützel via flang-commits flang-commits at lists.llvm.org
Thu Oct 15 09:45:59 PDT 2026


mmuetzel wrote:

The missing include seems to have already been added in 9afc11ef656eaf478eb417edb6d0447e39c81d28.
That was less than an hour ago. Does the CI run on a merge branch? Or does that need a rebase?

> Would you be able to share the code that once compiled and now doesn't?

That was part of a larger project. The error now occurs when attempting to build the following function:
https://github.com/ElmerCSC/elmerfem/blob/66cdc3ea3241a59e927e9b91496856272313c6d1/fem/src/H1Basis.F90#L495-L515

That part of the file hasn't changed in over five years. Same for the header that sets these macros:
https://github.com/ElmerCSC/elmerfem/blob/66cdc3ea3241a59e927e9b91496856272313c6d1/fem/config.h.cmake#L100-L122

It still built and ran the tests about four months ago. See: https://github.com/ElmerCSC/elmerfem/pull/753#issuecomment-4656775888
That was still with LLVM Flang 22. The build logs are probably no longer available.

In the meantime, MSYS2 updated to LLVM Flang 23.1.3. With that, the file no longer built.
And even after backporting the change from here on top of the LLVM 23.1.3 tarball and rebuilding Flang in MSYS2, the file no longer builds. (Now with the error from the previous comment.)


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


More information about the flang-commits mailing list