[Bug fortran/17678] USE statement incorrectly initializes allocatable array

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Oct 7 00:43:00 GMT 2004


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-07 00:43 -------
Subject: Bug 17678

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pbrook@gcc.gnu.org	2004-10-07 00:43:21

Modified files:
	gcc/fortran    : ChangeLog trans-array.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gfortran.dg: use_allocated_1.f90 

Log message:
	PR fortran/17678
	* trans-array.c (gfc_trans_deferred_array): Leave use associated
	variables alone.
	testsuite/
	* gfortran.dg/use_allocated_1.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.229&r2=1.230
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-array.c.diff?cvsroot=gcc&r1=1.28&r2=1.29
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4398&r2=1.4399
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/use_allocated_1.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17678



More information about the Gcc-bugs mailing list