]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/58410 (Bogus uninitialized variable warning for allocatable derived...
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 1 Dec 2013 11:42:25 +0000 (11:42 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 1 Dec 2013 11:42:25 +0000 (11:42 +0000)
commitd700518bbd5ae9a77509d8ef052f31a8c09f0438
tree5bc7c2f999384e26db3c53c4daa0bfb75df21569
parent49560f0c747c5d62ee46c9118b1ab634e985def5
re PR fortran/58410 (Bogus uninitialized variable warning for allocatable derived type array function result)

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.

From-SVN: r205566
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c