diff options
author | jeanPerier <jperier@nvidia.com> | 2025-06-26 12:00:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-26 12:00:23 +0200 |
commit | 13daf656561d91e0da406cf1b5ee612724d18587 (patch) | |
tree | c4f682e88b8e34f9efca0188e002ccd584175be2 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | a2265423d0ba5f501f77c4b715d9178f86151408 (diff) | |
download | llvm-13daf656561d91e0da406cf1b5ee612724d18587.zip llvm-13daf656561d91e0da406cf1b5ee612724d18587.tar.gz llvm-13daf656561d91e0da406cf1b5ee612724d18587.tar.bz2 |
[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.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions