mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 14:23:10 -05:00
ce45045d50
Cray Fortran uses mangling of the form `my_sub$my_module_` with the
subroutine name first. Teach FortranCInterface to detect this case.
Add `FortranCInterface_MODULE_{,_}ORDER` result variables to report it.
With optimizations on, Cray Fortran inlines the module subroutine into
the calling object, so our symbol with the `INFO` string is not used.
Add a directive to suppress inlining to avoid this.
6 lines
112 B
FortranFixed
6 lines
112 B
FortranFixed
subroutine call_sub
|
|
!DIR$ NOINLINE
|
|
call mysub()
|
|
call my_sub()
|
|
end
|