[Patch, fortran] PR58410 - [4.8/4.9 Regression] Bogus uninitialized variable warning for allocatable derived type array function result
Tobias Burnus
burnus@net-b.de
Sun Dec 1 10:49:00 GMT 2013
Paul Richard Thomas wrote:
> This turned out to be a valid uninitialized variable warning.
> Bootstrapped and regtested on FC17/x86_64 - OK from trunk and 4.8?
OK – thanks for the patch!
Tobias
> 2013-11-30 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.
More information about the Gcc-patches
mailing list