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 libfortran/33079] Optional empty strings do not appear to be 'PRESENT'



------- Comment #5 from fxcoudert at gcc dot gnu dot org  2007-08-17 13:09 -------
Subject: Bug 33079

Author: fxcoudert
Date: Fri Aug 17 13:09:23 2007
New Revision: 127584

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127584
Log:
        PR fortran/33079

        * intrinsics/string_intrinsics.c (string_trim, string_minmax): Fix
        the zero-length result case.

        * gfortran.dg/zero_length_2.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/zero_length_2.f90
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/intrinsics/string_intrinsics.c


-- 


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


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