re PR fortran/21034 ([4.0 only] internal compiler error: in gfc_trans_auto_array_allo...
authorPaul Brook <paul@codesourcery.com>
Wed, 22 Jun 2005 15:34:02 +0000 (15:34 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Wed, 22 Jun 2005 15:34:02 +0000 (15:34 +0000)
commitbd83e6142dc74cf26dca197f913bc38fe7b16b3a
treec40015daaa3be3a17b5b0f68506e33222a524d9b
parentaacb35127936fd17dd160595f59fca6cd2b81b0e
re PR fortran/21034 ([4.0 only] internal compiler error: in gfc_trans_auto_array_allocation, at fortran/trans-array.c:3036)

2005-06-22 Paul Brook  <paul@codesourcery.com>

PR fortran/21034
* symbol.c (gfc_is_var_automatic): New function.
(save_symbol): Use it.
testsuite/
* gfortran.dg/auto_save_1.f90: New test.

From-SVN: r101250
gcc/fortran/ChangeLog
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/auto_save_1.f90 [new file with mode: 0644]