[Bug fortran/41772] [4.4/4.5 Regression] Wrong code due to TRANSFER of EMPTY array section

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Oct 20 21:45:00 GMT 2009



------- Comment #4 from burnus at gcc dot gnu dot org  2009-10-20 21:45 -------
Working: 2009-01-16-r143426
Failing: 2009-01-17-r143463


Possibly caused by:

r143462 | pault | 2009-01-17 12:32:02 +0100 (Sat, 17 Jan 2009) | 17 lines
http://gcc.gnu.org/viewcvs?view=rev&revision=143462

2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/34955
        * trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): Has
        been absorbed into gfc_conv_intrinsic_transfer. All
        references to it in trans-intrinsic.c have been changed
        accordingly.  PR fixed by using a temporary for scalar
        character transfer, when the source is shorter than the
        destination.

2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/34955
        * gfortran.dg/transfer_intrinsic_1.f90: New test.
        * gfortran.dg/transfer_intrinsic_2.f90: New test.


-- 


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



More information about the Gcc-bugs mailing list