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

[BugFix] segfault with gfortran 10.4.0 -- NWTC_Base.f90 #1542

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

andrew-platt
Copy link
Collaborator

PR #1538 introduced a seg-fault with some gfortran compilers. Added an #ifdef for the Flang compiler

Feature or improvement description
PR #1538 can cause segmentation faults with some compilers. I noticed this with gfotran 10.4.0: see #1538 (comment) for errors with gfortran 10.4.0 (Mac, Ventura 13.3, Intel) for a screenshot.

To remedy this I wrapped the changes to the NWTC_Base.f90 introduced in #1538 in an #ifdef.

Related issue, if one exists
#1538 (comment)
#1538

Impacted areas of the software
Compiler only

Additional supporting information

Test results, if applicable

PR OpenFAST#1538 introduced a seg-fault with some gfortran compilers.  Added an #ifdef for the Flang compiler
@deslaughter deslaughter merged commit 907d23e into OpenFAST:dev Apr 21, 2023
@andrew-platt andrew-platt deleted the b/FLANG_nwtclibs branch April 22, 2023 00:18
@andrew-platt andrew-platt mentioned this pull request May 12, 2023
19 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants