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/47519] Deferred-length string wrong results with character intrinsic functions


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

--- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> 2011-01-31 19:13:17 UTC ---
Author: pault
Date: Mon Jan 31 19:13:13 2011
New Revision: 169444

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169444
Log:
2011-01-31  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/47519
    * trans-stmt.c (gfc_trans_allocate): Improve handling of
    deferred character lengths with SOURCE.
    * iresolve.c (gfc_resolve_repeat): Calculate character
    length from source length and ncopies.
    * dump-parse-tree.c (show_code_node): Show MOLD and SOURCE
    expressions for ALLOCATE.


2011-01-31  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/47519
    * gfortran.dg/allocate_deferred_char_scalar_2.f03: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/allocate_deferred_char_scalar_2.f03
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/dump-parse-tree.c
    trunk/gcc/fortran/iresolve.c
    trunk/gcc/fortran/trans-stmt.c
    trunk/gcc/testsuite/ChangeLog


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