HomePhabricator

fix(fortran): make compile_command() impure
738bd6554424Unpublished

Authored by rouson on Sep 26 2022, 9:46 AM.

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

fix(fortran): make compile_command() impure

The compile_command() function invokes the iso_fortran_env module
function compiler_version(). The Fortran standard does not
guaranteed that iso_fortran_env procedures are pure even though
every tested compiler other than LLVM flang treats compiler_version
as pure.

Details

Committed
rousonSep 26 2022, 9:48 AM
Parents
rTe52f8c278f69: doc(fortran): add LLVM finalization test result
Branches
Unknown
Tags
Unknown
References
refs/pull/13/head

Event Timeline