OSDN Git Service

PR fortran/31198
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Jul 2007 07:25:39 +0000 (07:25 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Jul 2007 07:25:39 +0000 (07:25 +0000)
commitedf97ddf4d16f4f3e1d79f7bd79678eae542842f
treee4ae49bc19dd3192333c573f73ec660a220cec1b
parent0ecb94cf0bae7efd2f24b8a4d900cd3128cfdd7a
PR fortran/31198

* trans-intrinsic.c (trans-intrinsic.c): Handle optional
arguments correctly for MIN and MAX intrinsics.

* gfortran.dg/min_max_optional_1.f90: New test.
* gfortran.dg/min_max_optional_2.f90: New test.
* gfortran.dg/min_max_optional_3.f90: New test.

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