Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a clash between CONTIGUOUS and SAVE attribute in flang (issue #673)
This simple patch adds CONTIGUOUS attribute to the list of attributes allowed to use along with the SAVE attribute. Signed-off-by: Paul Osmialowski <pawel.osmialowski@arm.com>
- Loading branch information
1 parent
e3dbec7
commit b225fa6
Showing
2 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
! RUN: %flang -c %s -fsyntax-only | ||
module contig | ||
implicit none | ||
integer, dimension(:), pointer, contiguous, save :: ptr | ||
end module |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters