Closed vehre closed 2 years ago
Fix is available at: https://github.com/sourceryinstitute/OpenCoarrays/tree/issue-745-rename-co_reduce-operator-for-F2018
The fix uses the pre-processor to use the different identifiers depending on the gcc-version used. Therefore the files had to renamed to *.F90, i.e. with a capital F which by convention enables preprocessor-processing.
GitHubA parallel application binary interface for Fortran 2018 compilers. - GitHub - sourceryinstitute/OpenCoarrays at issue-745-rename-co_reduce-operator-for-F2018
Thanks, @vehre! Please open a pull request to merge this fix into the main branch.
@everythingfunctional please let me know if you can review and merge the PR
Sounds straightforward enough. Open a PR and I'll review it.
The pull reQuest is at: https://github.com/sourceryinstitute/OpenCoarrays/pull/746
PR #746 has been merged so I'm closing this issue.
In gcc>=12 the Fortran Standard 2018's co_reduce(... operation=...) is implement. Code using pre-2018 Fortran (and still using operator=...) will stop compiling.
Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information.
System information including:
caf --version
or./install.sh --version
-->uname -a
:To help us debug your issue please explain:
What you were trying to do (and why)
What happened (include command output, screenshots, logs, etc.)
What you expected to happen
Step-by-step reproduction instructions to reproduce the error/bug
Compile testsuite with gcc>=12.