[Bug fortran/68544] ICE trying to pass derived type constructor as a function
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 20 23:16:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68544
--- Comment #14 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Thu Jun 20 23:15:32 2019
New Revision: 272529
URL: https://gcc.gnu.org/viewcvs?rev=272529&root=gcc&view=rev
Log:
2019-06-20 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from mainline
PR fortran/68544
* resolve.c (is_dt_name): New function to compare symbol name against
list of derived types.
(resolve_actual_arglist): Use it to find wrong code.
2019-06-20 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from mainline
PR fortran/68544
* gfortran.dg/pr68544.f90: New test.
* gfortran.dg/pr85687.f90: Modify test for new error message.
Added:
branches/gcc-9-branch/gcc/testsuite/gfortran.dg/pr68544.f90
Modified:
branches/gcc-9-branch/gcc/fortran/ChangeLog
branches/gcc-9-branch/gcc/fortran/resolve.c
branches/gcc-9-branch/gcc/testsuite/ChangeLog
branches/gcc-9-branch/gcc/testsuite/gfortran.dg/pr85687.f90
More information about the Gcc-bugs
mailing list