re PR fortran/63152 (needless initialization of local pointer arrays.)
authorJoost VandeVondele <vondele@gcc.gnu.org>
Fri, 19 Sep 2014 10:28:00 +0000 (10:28 +0000)
committerJoost VandeVondele <vondele@gcc.gnu.org>
Fri, 19 Sep 2014 10:28:00 +0000 (10:28 +0000)
commit727dc1217d05e7879a782b534deb0ec65bce5c91
tree4b275cc930633ec63242b9b56e57e42d37e573a1
parentc9aa0007f8147be06783e9f7365d2b5241dee7cb
re PR fortran/63152 (needless initialization of local pointer arrays.)

2014-09-19  Joost VandeVondele  <vondele@gcc.gnu.org>

PR fortran/63152
* trans-array.c (gfc_trans_deferred_array): Only nullify allocatables.

2014-09-19  Joost VandeVondele  <vondele@gcc.gnu.org>

PR fortran/63152
* gfortran.dg/auto_char_dummy_array_1.f90: Fix undefined behavior.
* gfortran.dg/pr63152.f90: New test.

From-SVN: r215387
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/auto_char_dummy_array_1.f90