This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, fortran] Fix checking of DIM argument ...


On Tuesday 30 December 2008 02:02:50 Daniel Franke wrote:
> gcc/testsuite:
> 2008-12-30  Daniel Franke  <franke.daniel@gmail.com>
>
> 	* gfortran.dg/mapping_2.f90: Fixed testcase.

===================================================================
--- testsuite/gfortran.dg/mapping_2.f90 (revision 142934)
+++ testsuite/gfortran.dg/mapping_2.f90 (working copy)
@@ -11,7 +11,7 @@ module test
       function my_string(x)
          integer i
          real, intent(in) :: x(:)
-         character(0) h4(1:minval([(i,i=30,32)],15))
+         character(0) h4(1:minval([(i,i=30,32), 15]))
          character(0) sv1(size(x,1):size(h4))
          character(0) sv2(2*lbound(sv1,1):size(h4))
          character(lbound(sv2,1)-3) my_string


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]