diff options
author | Harald Anlauf <anlauf@gmx.de> | 2020-06-11 15:48:56 +0200 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2020-06-11 15:48:56 +0200 |
commit | 87af4f40453a9c84363bde5d9a58466de7fbee2e (patch) | |
tree | 8a7f277fa8fb83a85bd7efdaffbd4a01885f817e /libstdc++-v3/src | |
parent | 2ee70f5d161edd99a7af97d166b251bcf83cd91b (diff) | |
download | gcc-87af4f40453a9c84363bde5d9a58466de7fbee2e.zip gcc-87af4f40453a9c84363bde5d9a58466de7fbee2e.tar.gz gcc-87af4f40453a9c84363bde5d9a58466de7fbee2e.tar.bz2 |
PR fortran/95503 - Fix ICE in gfc_is_simply_contiguous, at fortran/expr.c:5844
The check for assigning a pointer that cannot be determined to be simply
contiguous at compile time to a contiguous pointer does not need to be
invoked if the lhs of the assignment is known to have conflicting attributes.
2020-06-11 Harald Anlauf <anlauf@gmx.de>
gcc/fortran/
PR fortran/95503
* expr.c (gfc_check_pointer_assign): Skip contiguity check of rhs
of pointer assignment if lhs cannot be simply contiguous.
gcc/testsuite/
PR fortran/95503
* gfortran.dg/pr95503.f90: New test.
Diffstat (limited to 'libstdc++-v3/src')
0 files changed, 0 insertions, 0 deletions