[Bug fortran/34945] LBOUND fails for array with KIND(complex) used in zero-sized dimension

pault at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Feb 5 13:35:00 GMT 2008



------- Comment #9 from pault at gcc dot gnu dot org  2008-02-05 13:34 -------
Subject: Bug 34945

Author: pault
Date: Tue Feb  5 13:33:35 2008
New Revision: 132121

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132121
Log:
2008-02-05  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/34945
        * array.c (match_array_element_spec): Remove check for negative
        array size.
        (gfc_resolve_array_spec): Add check for negative size.

2008-02-05  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/34945
        * gfortran.dg/bounds_check_13.f: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/bounds_check_13.f
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/array.c
    trunk/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list