Skip to content
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

The functions do not work with gfortran-13 -O3 -ffast-math #23

Closed
zaikunzhang opened this issue Sep 7, 2023 · 1 comment
Closed

The functions do not work with gfortran-13 -O3 -ffast-math #23

zaikunzhang opened this issue Sep 7, 2023 · 1 comment

Comments

@zaikunzhang
Copy link
Collaborator

zaikunzhang commented Sep 7, 2023

See https://github.com/equipez/infnan/actions/runs/6105399848

All the functions will fail if gfortran-13 is invoked with
-Ofast
or
-O3 -ffast-math

However, -O3 or -ffast-math alone does not cause the problem.

@zaikunzhang zaikunzhang changed the title The functions do not work with gfortran-13 with -O3 -ffast-math The functions do not work with gfortran-13 -O3 -ffast-math Sep 8, 2023
@zaikunzhang
Copy link
Collaborator Author

Fixed by wrapping huge into huge_value in a separate file.

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

No branches or pull requests

1 participant