[Bug fortran/58410] [4.8/4.9 Regression] Bogus uninitialized variable warning for allocatable derived type array function result
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Dec 1 11:42:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58410
--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sun Dec 1 11:42:25 2013
New Revision: 205566
URL: http://gcc.gnu.org/viewcvs?rev=205566&root=gcc&view=rev
Log:
2013-12-01 Paul Thomas <pault@gcc.gnu.org>
PR fortran/58410
* trans-array.c (gfc_alloc_allocatable_for_assignment): Do not
use the array bounds of an unallocated array but set its size
to zero instead.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-array.c
More information about the Gcc-bugs
mailing list