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 2019-11-26T15-28 Recent NVIDIA Changes #841

merged 8 commits into from Nov 29, 2019


Copy link

gklimowicz commented Nov 26, 2019

No description provided.

gklimowicz added 8 commits Nov 26, 2019
Fix a bug related to unlimited polymorphic objects and strings.
In some cases, we are not properly initializing the unlimited
polymorphic object's descriptor. This can lead to seg faults
or empty strings.
When the STAT=specifier is present in an ALLOCATE
statement, return an error code and continue executing.


program test
integer, allocatable, dimension(:) :: foo
integer ierr
ierr = 2
allocate(foo(100), STAT=ierr)
write(*,*) 'status = ', ierr
allocate(foo(100), STAT=ierr)
write(*,*) 'status = ', ierr
end program test
When we create a unique interface symbol for TARGET_LLVM in the
    <proc dcl> ::= <ident> '=>' <id> ( )
production, also set the INTERFACE flag. This will prevent the
call to llvm_check_retval_inargs(), which is not needed for

This fixes Flang issue #577.
In gen_set_type(), use the check_member() function instead of
the mk_member() function to properly generate type descriptor
In the simply_contiguous() function, for A_SUSCR case check whether
the object is a pointer. If so, we only want to return TRUE if the
subscripted pointer object has the CONTIGUOUS attribute.  Otherwise,
we don't know what the pointer is pointing to at compile-time.

Add pp73 test.
@sscalpone sscalpone merged commit 6196855 into flang-compiler:master Nov 29, 2019
@sscalpone sscalpone deleted the ThePortlandGroup:nv_stage branch Nov 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.