re PR fortran/35685 (UBOUND incorrect for run-time zero-sized section)
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Wed, 14 May 2008 21:17:54 +0000 (21:17 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Wed, 14 May 2008 21:17:54 +0000 (21:17 +0000)
commitf10827b13be2d7f3a031c93ba6fcc35f81f762fd
treed90a1cc6679a260627c1c0176e3a19d8f0be3cf1
parent71d46ca56cb36baa54ec8a1de7cbc0fda9ae3245
re PR fortran/35685 (UBOUND incorrect for run-time zero-sized section)

        PR fortran/35685

        * trans-intrinsic.c (gfc_conv_intrinsic_bound): Correctly
        handle zero-size sections.

        * gfortran.dg/bound_3.f90: New test.

From-SVN: r135305
gcc/fortran/ChangeLog
gcc/fortran/trans-intrinsic.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/bound_3.f90 [new file with mode: 0644]