[Bug fortran/60091] Misleading error messages in rank-2 pointer assignment to rank-1 target
anlauf at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 15 22:20:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60091
--- Comment #3 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Fri Mar 15 22:20:20 2019
New Revision: 269717
URL: https://gcc.gnu.org/viewcvs?rev=269717&root=gcc&view=rev
Log:
2019-03-15 Harald Anlauf <anlauf@gmx.de>
PR fortran/60091
* expr.c (gfc_check_pointer_assign): Correct and improve error
messages for invalid pointer assignments.
PR fortran/60091
* gfortran.dg/pointer_remapping_3.f08: Adjust error messages.
* gfortran.dg/pointer_remapping_7.f90: Adjust error message.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/expr.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/pointer_remapping_3.f08
trunk/gcc/testsuite/gfortran.dg/pointer_remapping_7.f90
More information about the Gcc-bugs
mailing list