]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/34945 (LBOUND fails for array with KIND(complex) used in zero-sized...
authorPaul Thomas <pault@gcc.gnu.org>
Tue, 5 Feb 2008 13:33:35 +0000 (13:33 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Tue, 5 Feb 2008 13:33:35 +0000 (13:33 +0000)
commit52f5643130fe569c48beef68233e75d9db9b9eb7
treeb5d8b0e680f3ba23ddc5185887ed545c9bc188f3
parent1db54f4e49894663db378fe462590f7a91ae75ec
re PR fortran/34945 (LBOUND fails for array with KIND(complex) used in zero-sized dimension)

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.

From-SVN: r132121
gcc/fortran/ChangeLog
gcc/fortran/array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/bounds_check_13.f [new file with mode: 0644]