]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/38852 ([4.3] UBOUND fails for negative stride triplets)
authorPaul Thomas <pault@gcc.gnu.org>
Wed, 28 Jan 2009 21:48:53 +0000 (21:48 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Wed, 28 Jan 2009 21:48:53 +0000 (21:48 +0000)
commit61a3961538a6b911e8010eb68332875f61dbbf57
treee13e8efea1b864dfafd2a18c470041a2c15dd1b8
parent001b9eb6b19df30cceb3e9bddeb7fbec526ff958
re PR fortran/38852 ([4.3] UBOUND fails for negative stride triplets)

2009-01-28  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38852
PR fortran/39006
* trans-intrinsic.c (gfc_conv_intrinsic_bound): Use the array
descriptor ubound for UBOUND, when the array lbound == 1.

2009-01-28  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38852
PR fortran/39006
* gfortran.dg/bound_6.f90: New test.

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