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/34145] single_char_string.f90 fails with -fdefault-integer-8



------- Comment #5 from tkoenig at gcc dot gnu dot org  2010-09-06 19:44 -------
Subject: Bug 34145

Author: tkoenig
Date: Mon Sep  6 19:43:58 2010
New Revision: 163932

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163932
Log:
2010-09-06  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/34145
        * trans-expr.c (gfc_conv_substring):  If start and end
        of the string reference are equal, set the length to one.

2010-09-06  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/34145
        * gfortran.dg/char_length_17.f90:  New test.


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


-- 


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


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