[Bug fortran/91588] ICE in check_inquiry, at fortran/expr.c:2673
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 17 08:31:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91588
--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Tue Sep 17 08:30:50 2019
New Revision: 275800
URL: https://gcc.gnu.org/viewcvs?rev=275800&root=gcc&view=rev
Log:
2019-09-17 Paul Thomas <pault@gcc.gnu.org>
PR fortran/91588
* expr.c (check_inquiry): Remove extended component refs by
using symbol pointers. If a function argument is an associate
variable with a constant target, copy the target expression in
place of the argument expression. Check that the charlen is not
NULL before using the string length.
(gfc_check_assign): Remove extraneous space.
2019-09-17 Paul Thomas <pault@gcc.gnu.org>
PR fortran/91588
* gfortran.dg/associate_49.f90 : New test.
Added:
trunk/gcc/testsuite/gfortran.dg/associate_49.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/expr.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list