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

Pull 2018-10-17T05-49 Recent NVIDIA Changes #600

Merged
merged 3 commits into from Oct 17, 2018
Merged

Pull 2018-10-17T05-49 Recent NVIDIA Changes #600

merged 3 commits into from Oct 17, 2018

Conversation

gklimowicz
Copy link
Contributor

No description provided.

It works with the following 14 cases for both fixed-length
and deferred-length character arrays:
    1) b = a
    2) b = [ a(1), a(2), a(3), a(4) ]
    3) b = [ a ]
    4) b = [ character(len=newlen) :: a, c ]
    5) b = [ character(len=newlen) :: c, a ]
    6) b = [ (a(n), n=1,size(a)) ]
    7) b = [ character(len=len(a)) :: (a(n), n=1,size(a)) ]
    8) b = [ character(len=newlen) :: (a(n), n=1,size(a)), c ]
    9) b = [ character(len=len(a)) :: a ]
    10) b = [ a(1:2) ]
    11) b = [ character(len=len(a)) :: a(:) ]
    12) b = [ character(len=newlen) :: a(:), c ]
    13) b = [ character(len=newlen) :: c, a(:) ]
    14) b = [ character(len=newlen) :: a(1:2), c, a(3:) ]

For fixed-length character arrays:
    character(len=8), allocatable :: a(:)
    character(len=8), allocatable :: b(:)
    character(len=8), allocatable :: c
    a = [ character(len=8) :: "1","2","3","4" ]
    c = "w"

For deferred-length character arrays:
    character(len=:), allocatable :: a(:)
    character(len=:), allocatable :: b(:)
    character(len=:), allocatable :: c
    a = [ character(len=8) :: "1","2","3","4" ]
    c = "w"
In f90_value_function_I2(), fix order of A_NDTYPEG(ast) and
DT_INT arguments to the lower_conv_ilm() call. The fromdtype and
todtype arguments were reversed. This lead to a verify ICE in the
backend.
@sscalpone sscalpone merged commit 0479dc0 into flang-compiler:master Oct 17, 2018
@sscalpone sscalpone deleted the nv_stage branch October 17, 2018 15:28
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.

None yet

2 participants