This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/36670] Missing compile-time checks on sum and product



------- Comment #1 from tkoenig at gcc dot gnu dot org  2008-07-07 19:46 -------
Subject: Bug 36670

Author: tkoenig
Date: Mon Jul  7 19:45:55 2008
New Revision: 137595

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137595
Log:
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.


Added:
    trunk/gcc/testsuite/gfortran.dg/product_sum_bounds_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/iresolve.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]