[Bug fortran/62044] [4.8/4.9 Regression] ICE in USE statement with RENAME for extended derived type
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 26 21:59:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62044
--- Comment #15 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Mon Jan 26 21:58:42 2015
New Revision: 220140
URL: https://gcc.gnu.org/viewcvs?rev=220140&root=gcc&view=rev
Log:
2015-01-26 Paul Thomas <pault@gcc.gnu.org>
PR fortran/62044
* resolve.c (resolve_allocate_expr): If the default initializer
is NULL, keep the original MOLD expression so that the correct
typespec is available.
2015-01-26 Paul Thomas <pault@gcc.gnu.org>
PR fortran/62044
* gfortran.dg/allocate_with_mold_1.f90: New test
Added:
trunk/gcc/testsuite/gfortran.dg/allocate_with_mold_1.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list