re PR fortran/36670 (Missing compile-time checks on sum and product)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 7 Jul 2008 19:45:55 +0000 (19:45 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 7 Jul 2008 19:45:55 +0000 (19:45 +0000)
commit2769621878cf8b7559e702707f3e2d840ac7968e
tree9f92fb2fe16307444d21c0a7e5e85af8d0429702
parent9ad13e91692eec408fb030c65f947a4065afc7df
re PR fortran/36670 (Missing compile-time checks on sum and product)

2008-07-07  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/36670
* iresolve.c (gfc_resolve_product):  Set shape of return
value from array.
(gfc_resolve_sum):  Likewise.

2008-07-07  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/36670
* gfortran.dg/product_sum_bounds_1.f90:  New test case.

From-SVN: r137595
gcc/fortran/ChangeLog
gcc/fortran/iresolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/product_sum_bounds_1.f90 [new file with mode: 0644]