[Bug fortran/41197] ICE with ALLOCATE and nonscalar STAT= variable
tkoenig at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Sep 7 15:23:00 GMT 2009
------- Comment #3 from tkoenig at gcc dot gnu dot org 2009-09-07 15:23 -------
Subject: Bug 41197
Author: tkoenig
Date: Mon Sep 7 15:23:15 2009
New Revision: 151480
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151480
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/allocate_stat_2.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/allocate_alloc_opt_1.f90
trunk/gcc/testsuite/gfortran.dg/deallocate_alloc_opt_1.f90
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41197
More information about the Gcc-bugs
mailing list