2007-02-26 Thomas Koenig <Thomas.Koenig@online.de>
commitdd145961345693519f7f2da78d86afd27246f572
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Feb 2007 21:16:00 +0000 (26 21:16 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Feb 2007 21:16:00 +0000 (26 21:16 +0000)
tree03d0139d7f31503405d060bfbd208d45a8eff298
parent2970ab3d17c41b33da12f9d80a5f83990d475645
2007-02-26  Thomas Koenig  <Thomas.Koenig@online.de>
    Paul Thomas  <pault@gcc.gnu.org>

PR fortran/30865
* trans-intrinsic.c (gfc_conv_intrinsic_size):
If dim is an optional argument, check for its
presence and call size0 or size1, respectively.

2007-02-26  Thomas Koenig  <Thomas.Koenig@online.de>

PR fortran/30865
* size_optional_dim_1.f90:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122342 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-intrinsic.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/size_optional_dim_1.f90 [new file with mode: 0644]