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

[crash] compile fail on function CodeGenAction::setUpTargetMachine #1601

Open
vfdff opened this issue Jul 13, 2022 · 0 comments
Open

[crash] compile fail on function CodeGenAction::setUpTargetMachine #1601

vfdff opened this issue Jul 13, 2022 · 0 comments

Comments

@vfdff
Copy link

vfdff commented Jul 13, 2022

test case, see detail in https://godbolt.org/z/W8W7P9Tav

! Type your code here, or load an example.
real function square(rhogw_vm)
    implicit none
    integer, parameter :: ADM_kmin = 2
    integer, parameter :: ADM_kmax = 41
    integer, parameter :: ADM_gall = 1156
    integer, parameter :: ADM_kall = 42
    integer, parameter :: ADM_lall = 2
    real(8), intent(inout) :: rhogw_vm (ADM_gall, ADM_kall, ADM_lall)
    integer :: i, l

    DO i = 1, 10000
      do l = 1, ADM_lall
        rhogw_vm(:,ADM_kmin  ,l) = 0.D0
        rhogw_vm(:,ADM_kmax+1,l) = 0.D0
      enddo
    enddo

    return
end function square
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