[Bug fortran/52386] [4.6/4.7 Regression] ICE in gfc_conv_descriptor_dtyp (realloc LHS related)
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 29 07:40:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52386
--- Comment #2 from Paul Thomas <pault at gcc dot gnu.org> 2012-02-29 07:21:43 UTC ---
Author: pault
Date: Wed Feb 29 07:21:38 2012
New Revision: 184651
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184651
Log:
2012-02-29 Paul Thomas <pault@gcc.gnu.org>
PR fortran/52386
* trans-expr.c (fcncall_realloc_result): Dereference the
descriptor if needed.
2012-02-29 Paul Thomas <pault@gcc.gnu.org>
PR fortran/52386
* gfortran.dg/realloc_on_assign_13.f90 : New test.
Added:
trunk/gcc/testsuite/gfortran.dg/realloc_on_assign_13.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-expr.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list