[all-commits] [llvm/llvm-project] 13daf6: [flang] handle common block used as BIND(C) module...
jeanPerier via All-commits
all-commits at lists.llvm.org
Thu Jun 26 03:00:47 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 13daf656561d91e0da406cf1b5ee612724d18587
https://github.com/llvm/llvm-project/commit/13daf656561d91e0da406cf1b5ee612724d18587
Author: jeanPerier <jperier at nvidia.com>
Date: 2025-06-26 (Thu, 26 Jun 2025)
Changed paths:
M flang/lib/Lower/ConvertVariable.cpp
A flang/test/Lower/variable-common-viewed-as-module-var.f90
Log Message:
-----------
[flang] handle common block used as BIND(C) module variables (#145669)
Support odd case where a static object is being declared both as a
common block and a BIND(C) module variable name in different modules,
and both modules are used in the same compilation unit.
This is not standard, but happens when using MPI and MPI_F08 in the same
compilation unit, and at least both gfortran and ifx support this.
See added test case for an illustration.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list