allocate_stat_2.f90
329 Bytes
-
re PR fortran/41197 (ICE with ALLOCATE and nonscalar STAT= variable) · 6c145259
2009-09-07 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/41197 * resolve_c (resolve_allocate_deallocate): Complain if stat or errmsg varaible is an array. 2009-09-07 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/41197 * gfortran.dg/allocate_alloc_opt_1.f90: Use scalar variables for stat and errmsg. * gfortran.dg/deallocate_alloc_opt_1.f90: Likewise. * gfortran.dg/allocate_stat_2.f90: New test. From-SVN: r151480
Thomas Koenig committed