Skip to content

Improve check for F18 error stop #257

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 9, 2020

Conversation

awvwgk
Copy link
Member

@awvwgk awvwgk commented Dec 5, 2020

This PR improves the Fortran 2018 error stop check by running the example and checking for a correctly reported return code from the program.

The current check gives a false positive result for ifort 21.1 BETA 20200827, which compiles F18 error stop syntax but does not propagate the error code correctly. Since this is probably a bug I reported this upstream as well:
https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-2018-error-stop/m-p/1234424#M153065

- ifort 21.1 BETA 20200827 compiles F18 error stop syntax but
  does not propagate the error code correctly
@Romendakil
Copy link

BTW, I checked our code (https://gitlab.tp.nt.uni-siegen.de/whizard/public) with ifort 21.1 BETA 20200827, and the new compiler has several problems, apparently with deallocation and garbage collection. I'm preparing a reproducer for at least one issue for Intel, but roughly 80% of our test suite fails with the new ifort, so I doubt that this is only one problem.

Copy link
Member

@jvdp1 jvdp1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@milancurcic milancurcic merged commit 528dc73 into fortran-lang:master Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants