2006-09-18 Paul Thomas <pault@gcc.gnu.org>
commitd974cfdeaa13bf40b4d118ffcde15f760d961f44
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Sep 2006 06:24:54 +0000 (18 06:24 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Sep 2006 06:24:54 +0000 (18 06:24 +0000)
tree795e77314928c5d566f1e60e6c2032bc761cf1e5
parentdc6c80fda976d9fc37498e7287b3e54fe44efba0
2006-09-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/29060
* iresolve.c (resolve_spread): Build shape for result if the
source shape is available and dim and ncopies are constants.

PR fortran/28817
PR fortran/21918
* trans-decl.c (generate_local_decl): Change from 'warning' to
'gfc_warning' to have line numbers correctly reported.

2006-09-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/29060
* gfortran.dg/spread_shape_1.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117014 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/iresolve.c
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/spread_shape_1.f90 [new file with mode: 0644]