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

Set fcheck=all #793

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Set fcheck=all #793

wants to merge 1 commit into from

Conversation

GHNewbiee
Copy link

No description provided.

Copy link
Member

@awvwgk awvwgk left a comment

Choose a reason for hiding this comment

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

Don't think that is the right place to change the flags. Have a look into the compiler module instead:

fpm/src/fpm_compiler.f90

Lines 134 to 143 in 440272a

character(*), parameter :: &
flag_gnu_coarray = " -fcoarray=single", &
flag_gnu_backtrace = " -fbacktrace", &
flag_gnu_opt = " -O3 -funroll-loops", &
flag_gnu_debug = " -g", &
flag_gnu_pic = " -fPIC", &
flag_gnu_warn = " -Wall -Wextra -Wimplicit-interface", &
flag_gnu_check = " -fcheck=bounds -fcheck=array-temps", &
flag_gnu_limit = " -fmax-errors=1", &
flag_gnu_external = " -Wimplicit-interface"

@everythingfunctional
Copy link
Member

Alas, @awvwgk is correct. The profiles are not in use yet. I appreciate having them kept in sync until they are, so don't undo that change, but if you want to see it propagate as expected, you will have to make the change in the place @awvwgk indicated.

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.

3 participants