This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug fortran/30865] optional argument passed on to size(...,dim=)



------- Comment #10 from tkoenig at gcc dot gnu dot org  2007-02-26 21:16 -------
Subject: Bug 30865

Author: tkoenig
Date: Mon Feb 26 21:16:00 2007
New Revision: 122342

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122342
Log:
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.


Added:
    trunk/gcc/testsuite/gfortran.dg/size_optional_dim_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-intrinsic.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30865


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