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/34537] ICE or wrong code for TRANSFER of constant string to character



------- Comment #4 from pault at gcc dot gnu dot org  2008-01-11 18:26 -------
Subject: Bug 34537

Author: pault
Date: Fri Jan 11 18:25:29 2008
New Revision: 131470

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

        PR fortran/34537
        * simplify.c (gfc_simplify_transfer): Return NULL if the size
        of the element is unavailable and only assign character length
        to the result, if 'mold' is constant.

2008-01-11  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/34537
        * gfortran.dg/transfer_simplify_8.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/transfer_simplify_8.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/simplify.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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