re PR fortran/29060 (spread causes ICE in gfc_trans_array_constructor)
authorPaul Thomas <pault@gcc.gnu.org>
Mon, 18 Sep 2006 06:24:54 +0000 (06:24 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Mon, 18 Sep 2006 06:24:54 +0000 (06:24 +0000)
commit80f2bb6e3af5a9ae2576f86258cdafa7fe1ff384
tree795e77314928c5d566f1e60e6c2032bc761cf1e5
parent9adc3dc789b21d98f700141801cafec29489d92c
re PR fortran/29060 (spread causes ICE in gfc_trans_array_constructor)

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.

From-SVN: r117014
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]