llvm-project
13daf656 - [flang] handle common block used as BIND(C) module variables (#145669)

Commit
136 days ago
[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.
Author
Parents
Loading