diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2020-09-30 15:01:13 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2020-09-30 15:01:13 +0200 |
commit | 65167982efa4dbb96698d026e6d7e17acb513f0a (patch) | |
tree | 3d5bc9c39be8e950bd889436ee84d1148c0ae582 /gcc/tree-vectorizer.h | |
parent | 8b0a63e47cd83f4e8534d0d201739bdd10f321a2 (diff) | |
download | gcc-65167982efa4dbb96698d026e6d7e17acb513f0a.zip gcc-65167982efa4dbb96698d026e6d7e17acb513f0a.tar.gz gcc-65167982efa4dbb96698d026e6d7e17acb513f0a.tar.bz2 |
Fortran: add contiguous check for ptr assignment, fix non-contig check (PR97242)
gcc/fortran/ChangeLog:
PR fortran/97242
* expr.c (gfc_is_not_contiguous): Fix check.
(gfc_check_pointer_assign): Use it.
gcc/testsuite/ChangeLog:
PR fortran/97242
* gfortran.dg/contiguous_11.f90: New test.
* gfortran.dg/contiguous_4.f90: Update.
* gfortran.dg/contiguous_7.f90: Update.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions